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.