Clean Bricks

This repository has been created to provide convenience for developers using Clean Architecture in Flutter. You can easily create file structures by using the required bricks.


Setup 🧑‍💻

Ensure you have the mason_cli installed.

🎯 Activate from https://pub.dev

dart pub global activate mason_cli

🍺 Or install from https://brew.sh

brew tap felangel/mason
brew install mason

Click More Information about setup


Clean Arch Folder Structure

This Brick creating base folder structure.

  • Creates the main layers and subfolders.
  • Creates the analysis_options.yaml file that I have configured for myself.
  • Creates the .env and .env.development files.
  • Creates Network layer using Dio.
  • Creates an example error model for API requests

Screenshot

Screenshot 2023-06-12 at 23 32 38