Skip to content
pubscout

flutter_architecture_cli

1.0.6, released 4 weeks ago by dhartichauhan.blogspot.com

CLI tool to scaffold clean architecture codebases with 19 state management options.

$ flutter pub add flutter_architecture_cli
Source repository

What it does

A command-line tool and developer plugin designed to scaffold clean architecture projects in Flutter. It eliminates repetitive setup by generating modular features, screens, models, datasources, and repositories, supporting 19 different state management architectures.

AI-written summary of version 1.0.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Starting a new Flutter project and wanting to enforce a clean architecture structure quickly
  • Needing flexibility to choose from various state management libraries while maintaining a consistent project folder layout

Skip it when

  • Working on an existing codebase with a custom or non-standard folder structure
  • Not using clean architecture principles in your application design

Strengths

  • Supports 19 different state management architectures
  • Automates the creation of features, screens, models, repositories, and datasources
  • Provides bundle ID renaming and FVM support

Weaknesses

  • Opinionated folder structure that may not suit every project's specific needs
  • CLI-based tool requiring terminal usage or dev dependency configuration

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
2

Can be added as a project dev dependency or activated globally via pub global activate.

dart run flutter_architecture_cli create my_app --riverpod

Alternatives

Packages that do the same job and could replace flutter_architecture_cli.

  • arcle

    CLI tool to scaffold Flutter Clean Architecture projects with BLoC, GetX, or Riverpod.

  • freezed

    Code generation for immutable classes, tagged unions, and cloning without boilerplate.

  • riverpod_annotation

    Annotations for riverpod_generator to enable code generation

  • source_gen

    Source code generation builders and utilities for the Dart build system.

Works with

Packages commonly used together with flutter_architecture_cli: ones it builds on, ones built on it, and its own family.