This repository contains a collection of Mason bricks for building Flutter projects using the Clean Architecture approach and UI Kit components.
The clean_architecture_skeleton
brick sets up the foundation for a Flutter project following the Clean Architecture pattern. It provides the necessary directories, files, and configurations to kickstart your project development with a clean, organized, and scalable architecture.
- Clean Architecture folder structure.
- Separation of concerns with presentation, domain, and data layers.
- Configurable environment setup.
To create a new Flutter project with the Clean Architecture structure, run the following command:
mason make clean_architecture_skeleton
Follow the prompts to customize the project's name and organization.
The ui_kit_core
brick is used for generating the skeleton or core of a UI Kit package. It provides essential base classes, utilities, and configurations to streamline the development process and ensure consistency across components.
- Base classes for creating UI Kit components.
- Color and text style configurations for consistent theming.
- Helper methods for common UI patterns.
- Pre-configured code templates for faster development.
To generate the core of your UI Kit package, run the following command:
mason make ui_kit_core
The ui_kit_component
brick is a specialized brick for generating fully customizable UI components following the Clean Architecture principles. It utilizes the functionalities provided by ui_kit_core
to promote reusability and modularization, allowing you to build sophisticated UI components with ease.
- Generates Clean Architecture-based UI components.
- Provides prompts for customizing the component's properties and enums.
- Automatic generation of boilerplate code for the UI component.
To generate a new UI component using the ui_kit_component
brick, run the following command:
mason make ui_kit_component
Follow the prompts to customize the component's properties and enums to suit your needs.
This repository is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the license terms.
We welcome contributions to improve and extend the Mason UI Kit Bricks. If you have any ideas, bug fixes, or feature requests, please submit a pull request or open an issue on GitHub.
Thank you for using Mason UI Kit Bricks! Happy coding!