Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Riverpod Widget RefactorNew to Visual Studio Code? Get it now.
Riverpod Widget Refactor

Riverpod Widget Refactor

QuangTrung

|
1,106 installs
| (2) | Free
Riverpod widget refactor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Riverpod Widget Refactor

Link to install

Riverpod Widget Refactor is an extension that offers flutter_riverpod related code actions and snippets to increase productivity and make development easier. alt text alt text

Code Actions

  • Convert to a ConsumerWidget
  • Convert to a StatelessWidget
  • Convert to a StatefulWidget
  • Convert to a ConsumerStatefulWidget
  • Wrap with consumer

Remarks

  • Imports are managed automatically (no more adding import statements)

Note

I A Big Thank You! 🎉 I stolen code from those repositoires:

  • https://github.com/yhbsh/Riverpod-Extension-For-VsCode
  • https://github.com/felangel/bloc
  • https://marketplace.visualstudio.com/items?itemName=GaganYadav.rp-consumer
  • chatGPT

Iam someone who knows nothing about TypeScript and programming extensions for VSCode. I worked on this for 2 days, so this repository is not perfect.

Please create a Pull Request if you can help me improve it!
Please create a Pull Request if you can help me improve it!
Please create a Pull Request if you can help me improve it!
Please create a Pull Request if you can help me improve it!
Please create a Pull Request if you can help me improve it!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft