fast_clean_generator 1.1.0
fast_clean_generator: ^1.1.0 copied to clipboard
A powerful code generator for Clean Architecture in Flutter projects
Example Usage #
This directory demonstrates the default convention used by Fast Clean Generator.
Quick Start #
To see the generator in action without affecting your main project, you can run it directly inside this example directory:
- Open your terminal in the
example/folder. - Run the generator:
fast_clean_gen generate - When prompted for the JSON path, simply press Enter. It will use the default path:
tool/schema.json(which already exists in this folder). - Follow the interactive prompts (e.g., Feature:
todo, Class:Todo).
The generator will create a lib/ directory inside this example folder with all the Clean Architecture layers.
Using in your own project #
If you want to use the default settings in your Flutter project:
- Create a
tool/directory in your project root. - Place your JSON schema there and name it
schema.json. - Run
fcg generateand press Enter for the path.