Modular App Architecture Kit 2026
What it is: A CLI that generates full Flutter apps from templates. You choose an app type (E-Commerce, Messaging, Music/Video, Sleep Tracker), run one command, and get a ready-to-run project with auth, navigation, and a clean structure.
Why use it: Skip the boilerplate. Instead of wiring up GetX, routes, bindings, and auth screens from scratch, you get a working app in seconds. Replace the dummy Firebase service with your real API and ship.
How to use
Install the CLI
dart pub global activate modularapparchitecture
Create a project
modular_app create my_app
You’ll be prompted to pick a template (1–4). Or skip the prompt:
modular_app create my_app --template=ecommerce
modular_app create my_chat --template=messaging
modular_app create my_media --template=media
modular_app create my_sleep --template=sleep_tracker
Run the app
cd my_app
flutter pub get
flutter run
Templates
| Template | Key | What you get |
|---|---|---|
| E-Commerce | ecommerce |
Login, signup, product list, cart, checkout |
| Messaging | messaging |
Auth, chat list, chat screen, profile |
| Music/Video | media |
Auth, media library, player |
| Sleep Tracker | sleep_tracker |
Auth, sleep log, analytics |
Each template includes a splash screen with auth check, GetX bindings and controllers, and a dummy Firebase service you can swap for your own backend.
Generated structure
my_app/
├── lib/
│ ├── main.dart
│ └── app/
│ ├── bindings/
│ ├── controllers/
│ ├── models/
│ ├── services/
│ ├── views/
│ └── routes/
└── pubspec.yaml
License
MIT — see LICENSE.
Libraries
- core/animations/animations
- Animation widgets. Import: core/animations/animations.dart
- core/animations/fade_in
- core/animations/scale_in
- core/animations/slide_in
- core/config/env
- core/di/app_bindings
- core/routes/app_routes
- core/services/api_client
- core/services/firebase_auth_service
- core/services/firestore_service
- core/theme/app_colors
- core/theme/app_theme
- core/theme/app_typography
- features/auth/bindings/auth_binding
- features/auth/data/datasources/auth_datasource
- features/auth/data/repositories/auth_repository_impl
- features/auth/domain/repositories/auth_repository
- features/auth/domain/usecases/login_usecase
- features/auth/domain/usecases/signup_usecase
- features/auth/presentation/controllers/auth_controller
- features/auth/presentation/pages/login_page
- features/auth/presentation/pages/signup_page
- features/auth/presentation/pages/splash_page
- features/demo/bindings/demo_binding
- features/home/presentation/pages/home_page
- features/profile/bindings/profile_binding
- features/profile/data/datasources/profile_datasource
- features/profile/data/datasources/profile_datasource_impl
- features/profile/data/repositories/profile_repository_impl
- features/profile/domain/entities/profile_entity
- features/profile/domain/repositories/profile_repository
- features/profile/domain/usecases/get_profile_usecase
- features/profile/domain/usecases/update_profile_usecase
- features/profile/presentation/controllers/profile_controller
- features/profile/presentation/pages/profile_page
- main
- modularapparchitecture
- Modular App Architecture Kit 2026
- shared/extensions/theme_extensions