Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 2.59 KB

File metadata and controls

89 lines (62 loc) · 2.59 KB

🧱 Mason CLI - Flutter Code Generation

Powered by Mason Flutter

A collection of Mason bricks for Flutter development with TDD (Test-Driven Development) support following Clean Architecture principles.

📦 Available Bricks

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

🚀 Quick Start

Install Mason CLI

dart pub global activate mason_cli

Add Bricks

# 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 --global mason_tdd --path ./mason_tdd
mason add --global mason_tdd_folder --path ./mason_tdd_folder

Generate Code

# Complete TDD setup
mason make mason_tdd

# Generate feature folder
mason make mason_tdd_folder --name test

✨ 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

📚 Documentation

🔧 Management Commands

# List all global bricks
mason list --global

# Remove a brick
mason remove -g mason_tdd

# Upgrade all bricks
mason upgrade --global

🤝 Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open Pull Request

📄 License

MIT License - see LICENSE for details.


Powered by Mason 🧱