flutter_fahhh_architect 1.0.0
flutter_fahhh_architect: ^1.0.0 copied to clipboard
A command-line tool to scaffold opinionated Flutter apps with clean architecture, state management wiring, and more.
Flutter Fahhh Architect (CLI) #
A powerful, opinionated command-line tool built specifically to scale Flutter applications.
This CLI generates complete project boilerplates using Clean Architecture or MVVM and automates the creation of strongly-typed feature modules wired up with your preferred state management (Riverpod, Bloc, or Provider).
Installation #
Activate the CLI globally using Dart:
dart pub global activate flutter_fahhh_architect
Features #
1. Project Generation (create) #
Generates a brand new Flutter project pre-configured with industry-standard architectural folders and essential dependencies.
flutter_fahh_archi create <app_name> --clean --riverpod
--clean: Scaffolds a Clean Architecture folder structure (core/network,core/error,features/, etc.).--mvvm: Scaffolds an MVVM folder structure.--riverpod,--bloc, or--provider: Automatically injects the selected state management solution intopubspec.yamland wires up themain.dartprovider scopes.
2. Feature Scaffolding (feature) #
Generates properly structured feature directories and boilerplate Dart code. No more creating empty folders!
flutter_fahh_archi feature user_authentication --bloc
This will automatically create the lib/features/user_authentication/ directory containing:
data/domain/presentation/pages/user_authentication_page.dartpresentation/widgets/presentation/bloc/user_authentication_bloc.dart(along with Events and States)
Supports --bloc, --riverpod, and --provider.
Ecosystem #
This CLI pairs perfectly with the flutter_fahhh_core package, which contains all the boilerplate primitives (Result types, Failure definitions, Network handlers) the CLI depends on.
Roadmap #
- ❌ Mason Brick integration for custom templating
- ❌ Integration with VS Code & Android Studio GUI extensions.
Support this Project #
If you find this useful, consider buying me a coffee! Your support helps me keep building awesome open-source tools.