Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MVVM Flutter Widget GeneratorNew to Visual Studio Code? Get it now.
MVVM Flutter Widget Generator

MVVM Flutter Widget Generator

panuavakul

|
32,188 installs
| (0) | Free
Generate a Flutter stateful widget with seperate view and view model.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mvvm-flutter-widget README

I was reading an article from Edrick Leong (link) on seperating flutter's State into View and ViewModel and I thought that it was a great idea. However, manually creating a folder and three files everytime I want to make a widget is a pain so I'm just making this extension for my own personal use.

What this extension does it that it generate Flutter's widget file along with View and ViewModel.

How to use

CMD + Shift + P

Flutter MVVM Widget: Generate stateful widget

Input the widget name in camel case and then select the directory where the generated files should be placed.

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