Ekko Brick
August 30, 2024 ยท View on GitHub
A brick to create boilerplate for clean architecture using fewer libraries.
How to use ๐
mason add ekko_brick -g
mason make ekko_brick --project_name katekko --project_version 3.24.0
Variables โจ
| Variable | Description | Default | Type | Conditional | When |
|---|---|---|---|---|---|
project_name | The name of the project | example | string | false | N/A |
project_version | The flutter version | 3.24.0 | string | false | N/A |
How to initialize your project after brick ๐ฆ
- git init
- Install the FVM, it's a CLI for controll the flutter versions from your computer
- Type
fvm use - Type
fvm flutter create . - Now just start the project:
fvm flutter run -d {windows/mac/chrome/android/ios}
If you need more help to use, see this video: Youtube (only in pt_BR)
How to make changes in the brick and use locally ๐ฆ
- First create a temp folder inside the brick /
mkdir temp && cd temp - After, init the mason inside this temp folder /
mason init - Now add the locally brick that you wanna test the change /
mason add ekko_brick --path ../ - Finally, just execute the brick /
mason make ekko_brick
For further informations about the architecture itself you will need to wait for my tutorial in the future or call me on my discord Katekko.