flutter_architecture_generator 1.1.0
flutter_architecture_generator: ^1.1.0 copied to clipboard
A CLI tool to scaffold professional Flutter projects with Clean, MVVM, BLoC, GetX, or Provider architecture plus DI, routing, and tests.
1.1.0 - 2026-02-22 #
- ποΈ Multi-Architecture Support β Added 4 new architectures alongside Clean Architecture:
- MVVM: Models, Services, ViewModels (ChangeNotifier), Views
- BLoC Architecture: Models, Repositories, Bloc + Event + State, Pages
- GetX Architecture: Models, Controllers (GetxController), Bindings, Views
- Provider / Simple: Models, Providers (ChangeNotifier), Pages
- π§ Navigator Routing β Replaced placeholder with full
onGenerateRouteimplementation including named route constants and 404 fallback. - π― Typed BLoC Dependencies β BLoC template now uses architecture-aware typed dependencies (
GetXUseCasefor Clean,Repositoryfor BLoC). - π§ͺ Expanded Test Generation β All 5 architectures now generate feature-specific tests (ViewModel, BLoC, Controller, Provider tests).
- π GetX Consistency β Fixed controller/binding/DI alignment so constructor signatures match across all generated files.
- π Updated README β Added architecture comparison table, directory structure examples for all architectures, and architecture selection prompt in Quick Start guide.
- βοΈ Architecture-Aware Commands β
feature,model, andpagecommands now respect the selected architecture's directory structure. - π·οΈ Updated package description to reflect multi-architecture support.
1.0.1 - 2026-02-21 #
- β¨ Improved:
ApiClientnow uses environment variables (flutter_dotenv) for the base URL instead of a hardcoded string.
1.0.0 - 2026-02-21 #
- ποΈ Clean Architecture scaffolding with domain, data, and presentation layers.
- β‘ Four state management options: BLoC, Riverpod, Provider, and GetX.
- πΊοΈ Routing support: GoRouter and AutoRoute with auto-registration.
- π Dependency Injection with GetIt β auto-wired for every feature.
- π Dio HTTP client with interceptors, timeouts, and base configuration.
- βοΈ Freezed & JSON Serializable model generation.
- π Auth feature scaffolding with premium Login & Register pages.
- π Localization (L10n) with ARB files and
flutter_localizations. - π₯ Firebase integration support (optional).
- π¨ Material 3 theming with light and dark mode.
- π Environment files (.env.dev / .env.prod) with auto-generated .gitignore.
- π§ͺ Unit tests with repository test scaffolding.
- π¦ Latest package versions from pub.dev.