flutter_architecture_cli 1.0.5
flutter_architecture_cli: ^1.0.5 copied to clipboard
A command-line tool to generate production-ready clean architecture in Flutter using flutter_bloc, GetX, or RxDart & Provider.
1.0.5 #
- Multi-State Management Support:
- Added full support for flutter_bloc (
Bloc<Event, State>,BlocProvider, andBlocBuilder). - Added full support for GetX (
GetxControllerwith.obs,Bindings,GetView, andObx).
- Added full support for flutter_bloc (
- Strict State Management Isolation:
- 100% clean segregation of dependencies—projects created with
--getxcontain strictlyget: ^4.6.6(zerorxdart, zeroprovider). - Projects created with
--bloccontain strictlyflutter_bloc: ^8.1.6(zerorxdart, zeroprovider). - Omitted unused RxDart
base_bloc.dartwhen scaffolding GetX or flutter_bloc applications.
- 100% clean segregation of dependencies—projects created with
- CLI & Command Enhancements:
- Added interactive terminal selection menu when running
flutter_architecture_cli create <app_name>([1] RxDart,[2] flutter_bloc,[3] GetX). - Added
--state <rxdart|bloc|getx>,--bloc, and--getxflags to bothcreateandcreate_featurecommands. - Added smart architecture auto-detection in
create_feature: automatically detectsflutter_blocorgetinpubspec.yamland scaffolds matching code with zero configuration.
- Added interactive terminal selection menu when running
- Architecture-Tailored Scaffolding:
- Architecture-specific Dependency Injection (
Get.putbindings for GetX,MultiRepositoryProviderfor BLoC, andMultiProviderfor RxDart). - Architecture-tailored smoke test generation in
test/widget_test.dartensuringflutter testsucceeds out of the box for all state management choices. - Automatically configure
flutter_architecture_cli: ^1.0.5indev_dependenciesof newly generated projects. - Safe null and bounds handling in UI templates for empty string initial letters.
- Architecture-specific Dependency Injection (
- Testing & Quality:
- Added comprehensive unit tests covering template generation and strict state management isolation.
1.0.4 #
- Add full FVM (Flutter Version Management) support across all commands with
--fvmand--fvm-versionflags. - Add smart auto-detection for FVM when
flutteris missing from system PATH or in FVM workspaces. - Auto-configure
.fvm/flutter_sdkin.gitignoreand.vscode/settings.jsonfor newly created projects. - Automatically include
flutter_architecture_cli: ^1.0.4indev_dependenciesof newly generated projects. - Add project root directory auto-detection so all commands work smoothly even from subdirectories.
- Add smart data source auto-detection in
create_repositorycommand. - Support Kotlin DSL (
build.gradle.kts) inchange_bundle_id. - Fix smoke test generation so
flutter testsucceeds out of the box in new projects. - Fix
BaseUiState.isError()to prevent uninitialized states from evaluating as errors. - Make
AppLocalizationsnull-safe with fallback inAppTextfor widget tests. - Add comprehensive form validation helper (email, phone, password, minLength/maxLength, url, numeric, compose) in generated projects.
1.0.3 #
- Add Medium blog tutorial link to README.md.
1.0.2 #
- Update README.md with dev_dependency setup guide and future roadmap goals.
1.0.1 #
- Fix missing dartdoc comments for public API symbols.
- Add code example in example/example.dart.
1.0.0 #
- Initial release of Clean Architecture Generator.
- Scaffold clean architecture layers using RxDart and Provider.
- Generate constants, theme, storage, network, base classes, localization, DI, and routes.
- Generate pre-styled common widgets.
- Support CLI commands:
create,create_screen,create_feature,create_model,create_repository,create_datasource, andcreate_service.