flutter_feature_maker 1.0.0
flutter_feature_maker: ^1.0.0 copied to clipboard
A CLI tool for scaffolding Flutter feature folders using clean architecture, built-in and custom templates, and state management support.
Changelog #
1.0.0 #
Initial release.
- Generate Flutter feature folders from built-in templates (Clean, MVC, MVVM, CLEAN_SIMPLE) and custom saved templates.
- State management support: bloc, cubit, provider, riverpod, getx, with the
{STATE_MANAGEMENT}placeholder. Each option scaffolds compiling starter code (BLoC/Cubit withpartfiles,ChangeNotifier, RiverpodNotifier, orGetxController) rather than empty files. - Architecture advisor: a non-blocking warning when a template + state management pairing is a conceptual mismatch (e.g. BLoC inside an MVC controller).
- Multiple executable aliases:
ffm,feature_maker, andflutter_feature_maker. - Global and local storage scopes for templates and configuration; local
overrides global. Global storage uses each OS's conventional config
directory (macOS Application Support, Linux XDG/
~/.config, Windows%APPDATA%). - Non-interactive
createvia--name,--template,--state,--path, and--force; interactive prompts when flags are omitted. config,save-template,list-templates,show-template,delete-template,list-state-management,version, andhelpcommands.- Feature-name validation, existing-feature guard, and proper process exit codes for scripting/CI.