fluttermint 0.3.1
fluttermint: ^0.3.1 copied to clipboard
A CLI tool to generate Flutter projects with pre-configured architecture and modules.
Changelog #
0.3.1 #
- Refactor
db addto generate a separate DAO file per table with constructor-injectedDatabaseService(clean architecture). - DAO is auto-registered in GetIt locator (MVVM/MVI) or generated as a Riverpod provider.
db removenow also cleans up DAO registration fromlocator.dart.
0.3.0 #
- Add
databasemodule for local SQLite database (sqflite) with auto-registration in GetIt locator. - Add
fluttermint db add <table> --col name:Typecommand — generates model class withtoMap()/fromMap(), CREATE TABLE migration, and full CRUD methods (insert, getAll, getById, update, delete). - Add
fluttermint db remove <table>command — removes model file, CREATE TABLE SQL, import, and CRUD methods.
0.2.1 #
- Non-destructive module add —
locator.dartandmain.dartare updated incrementally, preserving user edits. - Module removal regenerates shared files correctly, including structural changes (MaterialApp properties, widget class types).
pref addgenerates getter/setter accessors instead of method-based accessors.- Add
preferencesmodule for SharedPreferences with typed getter/setter generation viafluttermint pref add. - Fix missing
designPatternpropagation in add/remove commands (caused wrong code generation for MVI/Riverpod projects). - Fix Windows line-ending normalization in shared file updates.
0.2.0 #
- Add MVI (BLoC + Equatable) as second architecture pattern.
- Add MVVM + Riverpod (flutter_riverpod + AsyncNotifier) as third architecture pattern.
- Architecture pattern selection in wizard and quick create.
- Pattern-aware module filtering — locator is hidden for Riverpod, incompatible patterns are excluded.
- Config-aware dependency resolution — modules skip unnecessary packages per pattern.
- Pattern-specific screen generation (viewmodels, blocs, or notifiers + providers).
- Pattern-specific startup, theming, and testing templates.
- Show design pattern description on generated home screen.
- Update README with multi-pattern documentation.
0.1.1 #
- Add example documentation.
- Update installation instructions for pub.dev.
0.1.0 #
- Initial release of FlutterMint CLI.
createcommand to scaffold a new Flutter project with pre-configured architecture.add/removecommands for managing modules (API, routing, theming, localization, etc.).configcommand for interactive module configuration.statuscommand to view installed modules.screencommand to generate new screens with MVVM structure.run/buildcommands with flavor and platform selection.enable-http/disable-httpcommands for HTTP connection management.platformcommand to manage platform targets.