A collection of Mason bricks for Flutter development with TDD (Test-Driven Development) support following Clean Architecture principles.
| Brick | Description | Install |
|---|---|---|
| mason_tdd | Complete Flutter architecture with Clean Architecture, Bloc, Dependency Injection, and Authentication | mason add --global mason_tdd |
| mason_tdd_folder | Feature folder generator with Cubit/Bloc setup | mason add --global mason_tdd_folder |
dart pub global activate mason_cli# Add from BrickHub (Recommended)
mason add --global mason_tdd
mason add --global mason_tdd_folder
# Or from Local Path (if you cloned this repository)
mason add mason_tdd --source path --path ./mason_tdd
mason add mason_tdd_folder --source path --path ./mason_tdd_folder
# Or from Git Repository (this repository)
mason add --global mason_tdd --git-url https://github.com/munawerdev/mason_cli.git --git-path mason_tdd
mason add --global mason_tdd_folder --git-url https://github.com/munawerdev/mason_cli.git --git-path mason_tdd_folder# Complete TDD setup
mason make mason_tdd
# Generate feature folder
mason make mason_tdd_folder --name user_profile -o lib/features- ✅ Clean Architecture with Domain-Driven Design
- ✅ State Management with Flutter Bloc/Cubit
- ✅ Dependency Injection with GetIt
- ✅ Network Layer with Dio interceptors
- ✅ Authentication System with secure storage
- ✅ Theming and UI components library
- ✅ Responsive Design with flutter_screenutil
- ✅ TDD Support with built-in test structure
- mason_tdd: View on BrickHub
- mason_tdd_folder: View on BrickHub
- mason_tdd README: Full Documentation
# List all global bricks
mason list --global
# Remove a brick
mason remove -g mason_tdd
# Upgrade all bricks
mason upgrade --global- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
MIT License - see LICENSE for details.
Powered by Mason 🧱