Feature Based Skeleton
A project template for busy developers to fastly create a new flutter project using the atomic & CSR (Controller Service Repository) feature brick design. Dependencies: flutter_riverpod, freezed class generation, json serializable, build runner.
After deploying this brick, check the Atomic CSR Feature and deploy it inside the "features" folder to easily deploy new features.
How to use ๐งพ
mason add feature_based_skeleton && mason make feature_based_skeleton
Dont forget to run flutter pub get
after deploying the brick / new project.
Variables โ๏ธ
Variable | Description | Default | Type |
---|---|---|---|
package_name | The name of the project package | flutter_app | string |
project_name | The name of the project | CoolApp | string |
Output ๐
assets/
lib/
โโ core/
โ โโ shared/
โ โ โโ shared stuff
โ โโ widgets/
โ โ โโ core widgets of the app
โ โโ project_name_app.dart
โ โโ project_name_core.dart
โโ theme/
โ โโ color_schemes.dart
โ โโ project_name_theme.dart
โโ features/
โโ routes/
โโ main.dart
test/
โโ test widgets
analysis_options.yaml
package_name.iml
pubspec.yaml
README.md
...