Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Riverpod ConsumerNew to Visual Studio Code? Get it now.
Riverpod Consumer

Riverpod Consumer

Gagan Yadav

|
2,787 installs
| (0) | Free
Adds wrap with Consumer code action.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Riverpod


Overview

This extension is heavily inspired from Bloc VSCode Extension.

VSCode support for the Riverpod Consumer and provides tools for effectively wrapping widgets under Consumer builder for Flutter apps.

Installation

Riverpod Consumer can be installed from the VSCode Marketplace or by searching within VSCode.

Commands

Command Description
RP Consumer: New Notifier Generate a new Notifier
RP Consumer: New Stateless File Generate a new Stateless widget file

You can activate the commands by launching the command palette (View -> Command Palette) and running entering the command name or you can right click on the directory in which you'd like to create the bloc/cubit and select the command from the context menu.

Code Actions

Action Description
Wrap with Consumer Wraps current widget in a Consumer
Remove Consumer Removes the selected Consumer. Caution: Can cause problems with Consumer that returns multiple widgets from the builder. It is a WIP.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft