flutter_feature_maker 1.0.0 copy "flutter_feature_maker: ^1.0.0" to clipboard
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.

example/README.md

Example #

Install the CLI, then generate a feature.

dart pub global activate flutter_feature_maker

Non-interactive #

Generate a Clean architecture feature named authentication using bloc:

feature_maker create --name authentication --template Clean --state bloc

Produces:

lib/features/authentication/
├── data/
│   ├── datasources/
│   ├── models/
│   └── repositories/
├── domain/
│   ├── entities/
│   ├── repositories/
│   └── usecases/
└── presentation/
    ├── bloc/
    │   ├── authentication_bloc.dart
    │   ├── authentication_event.dart
    │   └── authentication_state.dart
    ├── screens/
    │   └── authentication_screen.dart
    └── widgets/

Interactive #

Run without flags and answer the prompts:

feature_maker create

Other commands #

feature_maker list-templates          # show built-in and custom templates
feature_maker save-template --local   # save a custom template for this project
feature_maker config --set-path lib/modules
feature_maker version
2
likes
160
points
72
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool for scaffolding Flutter feature folders using clean architecture, built-in and custom templates, and state management support.

Repository (GitHub)
View/report issues

Topics

#cli #scaffolding #clean-architecture #code-generation

License

MIT (license)

Dependencies

args, path

More

Packages that depend on flutter_feature_maker