A command-line tool to scaffold Flutter projects quickly with clean architecture, Firebase, REST APIs, core utilities, theming, routing, and feature scaffolding.
- Initialize a Flutter project with ready-to-use core folders
- Add features with
view,model, andviewmodel - Add reusable widgets
- Add services for API handling, storage, or business logic
- Splash screen setup
- Modular architecture using GoRouter for routing
dart pub global activate flutter_starter_kitWindows:
$env:PATH += ";$env:USERPROFILE\.pub-cache\bin"Linux/macOS:
export PATH="$PATH:$HOME/.pub-cache/bin"flutter_starter_kit --helpgit clone https://github.com/NishanthDeveloper/flutter_starter_kit.git
cd flutter_starter_kit
dart pub global activate --source path .lib/
├── core/
│ ├── colors/
│ │ └── app_colors.dart
│ ├── theme/
│ │ ├── app_themes.dart
│ │ └── app_text_styles.dart
│ ├── strings/
│ │ └── app_strings.dart
│ ├── widgets/
│ │ ├── app_button.dart
│ │ ├── app_textfield.dart
│ │ └── app_card.dart
│ ├── routing/
│ │ ├── app_router.dart
│ │ └── app_routes.dart
│ └── services/
│ └── auth_service.dart
├── features/
│ ├── splash/
│ │ └── view/
│ │ └── splash_page.dart
│ └── auth/
│ ├── model/
│ │ └── auth_model.dart
│ ├── view/
│ │ └── auth_page.dart
│ └── viewmodel/
│ └── auth_viewmodel.dart
└── main.dart
flutter_starter_kit initflutter_starter_kit add feature splash
flutter_starter_kit add feature authflutter_starter_kit add widget app_button
flutter_starter_kit add widget app_cardflutter_starter_kit add service auth_service
flutter_starter_kit add service storage_serviceflutter_starter_kit --help- Run
flutter_starter_kit initbefore adding features, widgets, or services - Keep reusable UI components in
core/widgets - Keep theming and constants in
core/colorsandcore/theme - Each feature should have its own folder (model, view, viewmodel) for modularity
- Services should reside in
core/services
- GitHub: https://github.com/NishanthDeveloper/flutter_starter_kit
- Pub.dev: https://pub.dev/packages/flutter_starter_kit
- Supports Firebase, REST API, and Clean Architecture scaffolding
- Generated files are ready to use and can be extended
- Helps developers focus on business logic instead of boilerplate