flutter_mvvm_startkit 1.2.0
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 viewcommand 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:
createandgenerate view - ๐ Comprehensive code generation with proper imports and boilerplate