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 โœจ

VariableDescriptionDefaultTypeConditionalWhen
project_nameThe name of the projectexamplestringfalseN/A
project_versionThe flutter version3.24.0stringfalseN/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.