- Install
mason
dart pub global activate mason_cli
- Initialize mason
mason init
- Create brick
mason new <BRICK_NAME>
- Install
mason
dart pub global activate mason_cli
- Initialize mason
mason init
- Add bricks submodule to the project
git submodule add https://github.com/Vanessa-Berazategui/flutter_bricks.git
- Add the desired brick <BRICK_NAME> to the project
mason add <BRICK_NAME> --path ./bricks/<BRICK_NAME>
- Run the brick <BRICK_NAME>
mason make <BRICK_NAME> --name=nombre_example
- Clone the project to use.
git clone https://github.com/Vanessa-Berazategui/repo_example.git
- Initialize mason
mason init
- Download bricks submodule (if authentication fails, perform a git clone)
git submodule init
git submodule update
- Get the bricks
git mason get
mason list
mason make data_layer_model --name=<feature_name>
mason make domain_layer_entity --name=<feature_name>
mason make presentation_layer_feature --name=<feature_name>
mason make presentation_layer_hydrated_feature --name=<feature_name>
mason make domain_layer_package --name=<feature_name>
mason make data_layer_package --name=<feature_name>