Skip to main content

flutter_fahhh_architect 1.0.0 copy "flutter_fahhh_architect: ^1.0.0" to clipboard
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 into pubspec.yaml and wires up the main.dart provider 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.dart
  • presentation/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.

0
likes
140
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A command-line tool to scaffold opinionated Flutter apps with clean architecture, state management wiring, and more.

License

MIT (license)

Dependencies

args, mason_logger, path, recase, yaml_edit

More

Packages that depend on flutter_fahhh_architect