flutter_mvvm_startkit 1.2.0 copy "flutter_mvvm_startkit: ^1.2.0" to clipboard
flutter_mvvm_startkit: ^1.2.0 copied to clipboard

A CLI tool to scaffold Flutter projects with MVVM architecture. Optional Riverpod integration, automatic asset setup, and flexible routing options.

1.2.0 #

  • ๐ŸŽฏ Optional Riverpod: Choose to use Riverpod or bring your own state management
  • ๐Ÿ“ฆ Automatic Asset Setup: Creates assets/images, assets/icons, assets/fonts folders with .gitkeep files
  • โš™๏ธ Auto-configure pubspec.yaml: Automatically adds asset paths to pubspec.yaml
  • ๐Ÿ“š Smart Dependency Management:
    • Auto-installs flutter_riverpod, custom_lint, riverpod_lint when Riverpod is chosen
    • Auto-installs go_router when GoRouter is chosen
    • Configures analysis_options.yaml for riverpod_lint automatically
  • ๐Ÿ›ฃ๏ธ Map-based Routing: Default routing now uses Map<String, WidgetBuilder> for cleaner code
  • ๐Ÿ”„ Conditional Providers: Only generates provider files and folders when using Riverpod
  • โœจ Improved main.dart: Cleaner generation with conditional ProviderScope wrapper
  • ๐ŸŽจ Better View Templates:
    • Simpler, cleaner boilerplate code
    • Riverpod views use ConsumerStatefulWidget
    • Standard views use StatefulWidget with proper dispose
    • ViewModels are now simpler and more straightforward
  • ๐Ÿงน Smart Generation: generate view command detects if project uses Riverpod automatically

1.1.0 #

  • ๐ŸŽฏ Interactive CLI - Now asks for user preferences during project creation
  • ๐Ÿ›ฃ๏ธ Routing Options: Choose between GoRouter or Default Flutter Routing
  • ๐Ÿ“ฆ Constants Organization: Option for single file or separate files
  • ๐ŸŽจ Enhanced constants with colors, fonts, and button styles
  • โœจ GoRouter integration with sample routes and error handling
  • ๐Ÿ“ Smart main.dart generation based on routing choice
  • ๐Ÿ”ง Improved imports based on constants organization choice

1.0.1 #

  • ๐ŸŽจ Enhanced folder structure with core/ directory
  • ๐Ÿ“ฆ Added sample files: app_colors, app_texts, validators, loading_indicator
  • ๐Ÿ›ฃ๏ธ Added app_routes.dart for navigation
  • ๐Ÿ“ Auto-generated main.dart with ProviderScope and routing setup
  • ๐ŸŽฏ Better organized structure following Flutter best practices
  • ๐Ÿ“ New structure: core/, data/, view/, providers/, routes/

1.0.0 #

  • Initial release of Flutter MVVM Start Kit
  • โœจ Create new Flutter projects with MVVM architecture
  • ๐ŸŽฏ Generate View, ViewModel, and Provider files
  • ๐Ÿ“ Auto-generate organized folder structure (view, data/models, data/repositories, providers, utils, widgets)
  • ๐Ÿ”„ Riverpod integration for state management
  • ๐Ÿš€ CLI commands: create and generate view
  • ๐Ÿ“ Comprehensive code generation with proper imports and boilerplate
1
likes
150
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool to scaffold Flutter projects with MVVM architecture. Optional Riverpod integration, automatic asset setup, and flexible routing options.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, io, path

More

Packages that depend on flutter_mvvm_startkit