Flutter Architecture Generator Banner

πŸ—οΈ Flutter Architecture Generator

pub package License: MIT Dart 3 Buy Me A Coffee

The industry-standard CLI for rapid, transactional, and scalable Flutter app development.

Generate complete architectures (Clean, MVVM, BLoC, GetX, Provider) in seconds with a transactional execution engine that guarantees safety.


πŸ“š Documentation

🌐 Interactive Documentation Portal

Experience our high-fidelity, interactive documentation with live command explorers and architectural deep-dives.

πŸ“– Technical Guides

Guide Description
🏁 Getting Started Installation, Initialization, and First Project
πŸ—οΈ Architecture Patterns Deep dive into Clean, MVVM, BLoC structures
πŸš€ Core Features Theme Generator, Chat Module, Smart Refactor
πŸ› οΈ Maintenance Undo, Rename, Delete, and Project Health

✨ Key Capabilities

  • πŸ›‘οΈ Transactional Logic: View every file change in a tree-diff before applying.
  • βͺ Universal Undo: One command to revert any generation or rename.
  • 🎨 Premium UI Modules: Generate full Chat and Theme modules with design system integration.
  • 🧠 Smart Refactoring: Safely inject fields into existing Freezed models via CLI.
  • ⚑ API-to-Code: Generate domain and data layers directly from live API responses.
  • πŸ§ͺ Mock-Powered: Auto-generates repository tests with intelligent mock data.

πŸš€ Quick Install

dart pub global activate flutter_architecture_generator

Initialize your project

# Inside your Flutter project
flutter_arch_gen init

πŸ“Έ Core Preview

Command Action
flutter_arch_gen theme Generates a full Design System + extensions
flutter_arch_gen feature chat Scaffolds a complete Socket-powered Chat app
flutter_arch_gen refactor model Injects fields into existing code safely
flutter_arch_gen undo Instant rollback of the last transaction

🀝 Contributing & Community

Contributions are what make the open-source community an amazing place to learn, inspire, and create.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

β˜• Support the Project

If you find this tool helpful and want to support its development:

Buy Me A Coffee


πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.

Made with ❀️ for the Flutter community

Libraries

flutter_architecture_generator
The main library for the Flutter Architecture Generator CLI tool.