βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β ββββββ βββ βββ ββββββββ ββββββββ β
β ββββββββ βββ βββ ββββββββ ββββββββ β
β βββ βββ βββ βββ ββββββ ββββββββ β
β βββ βββ βββ βββ ββββββ ββββββββ β
β ββββββββ βββββββββ βββ ββββββββ β
β ββββββ βββββββ βββ ββββββββ β
β β
β Create Ultimate Flutter Stack β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
A powerful CLI tool for generating production-ready Flutter applications with your preferred stack configuration. Think of it as "Create React App" but for Flutter - get started with best practices in seconds.
- π― Interactive CLI - Simple prompts guide you through project setup
- ποΈ Clean Architecture - Follows industry-standard folder structure
- π¨ Multiple Themes - Material 3, Minimal Clean, Neumorphic, Glassmorphism
- π Backend Integration - Firebase, Supabase, Appwrite support
- π§ Smart Routing - GoRouter, GetX Routing, or Flutter Navigator
- π¦ State Management - Provider, GetX, Riverpod, Bloc, MobX
- π Production Ready - Clean code that passes
flutter analyze
Prerequisite: Dart SDK installed.
# Install globally
dart pub global activate cufs
# Run
cufs create my_appIf the package is not yet available on pub.dev or you want the latest changes:
# Install from git
dart pub global activate --source git https://github.com/vivekvsingh19/create_ultimate_flutter_stack.git
# Run
cufs create my_appDownload the latest release for your OS from the Releases page.
# Make executable (Linux/Mac)
chmod +x cufs
# Run
./cufs create my_appcufs create my_awesome_appThe CLI will guide you through selecting:
- State Management - Choose your preferred solution
- Backend - Pick your backend service or none
- Router - Select routing approach
- Theme - Choose your UI style
- Screens - Select which screens to generate
$ cufs create my_app
π Welcome to CUFS! Let's build your ultimate Flutter stack.
? Choose State Management: βΊ
β― Provider
GetX
Riverpod
Bloc
MobX
? Choose Backend: βΊ
β― Firebase
Supabase
Appwrite
None
? Choose Router: βΊ
Flutter Navigator
β― GoRouter
GetX Routing
? Choose UI Theme Style: βΊ
Minimal Clean
β― Material 3
Neumorphic
Glassmorphism
? Choose default screens to include: βΊ
β Splash
β Login / Signup
β Home
β Profile
β Settings
β Project my_app generated successfully! π
cd my_app && flutter runmy_app/
βββ lib/
β βββ core/
β β βββ config/
β β βββ themes/
β β β βββ app_theme.dart
β β βββ services/
β β β βββ auth_service.dart
β β β βββ database_service.dart
β β βββ utils/
β βββ data/
β β βββ models/
β β βββ repositories/
β βββ presentation/
β β βββ screens/
β β β βββ splash_screen.dart
β β β βββ login_screen.dart
β β β βββ home_screen.dart
β β β βββ profile_screen.dart
β β β βββ settings_screen.dart
β β βββ widgets/
β β β βββ custom_button.dart
β β β βββ custom_text_field.dart
β β β βββ loading_indicator.dart
β β β βββ custom_app_bar.dart
β β βββ app.dart
β βββ routes/
β β βββ app_router.dart
β βββ main.dart
βββ pubspec.yaml
- Provider - Simple and effective
- GetX - Lightweight and powerful
- Riverpod - Modern Provider evolution
- Bloc - Predictable state container
- MobX - Reactive state management
- Firebase - Google's mobile platform
- Supabase - Open source Firebase alternative
- Appwrite - Self-hosted backend server
- None - Frontend only
- GoRouter - Declarative routing (recommended)
- GetX Routing - Built-in GetX navigation
- Flutter Navigator - Default Flutter routing
- Material 3 - Latest Material Design
- Minimal Clean - Black/white minimalism
- Neumorphic - Soft UI with shadows
- Glassmorphism - Modern glass effects
- β
main.dartwith state management setup - β
app.dartwith routing configuration - β
app_theme.dartwith your chosen theme - β
app_router.dartorapp_pages.dartfor navigation
- β
auth_service.dart- Authentication logic - β
database_service.dart- Database operations
- β Splash screen with auto-navigation
- β Login/Signup screen with forms
- β Home screen with navigation example
- β Profile screen
- β Settings screen
- β Custom button with loading states
- β Custom text field with validation
- β Loading indicator
- β Custom app bar
All generated projects are verified to:
- β
Pass
flutter analyzewith zero errors - β Compile successfully
- β Follow Flutter best practices
- β Use null-safe code
State Management: Provider
Backend: Firebase
Router: GoRouter
Theme: Material 3
State Management: Bloc
Backend: Supabase
Router: GoRouter
Theme: Minimal Clean
State Management: GetX
Backend: None
Router: GetX Routing
Theme: Glassmorphism
This tool is actively maintained. If you find bugs or have feature requests, please open an issue.
This project is open source and available under the MIT License.
- Navigate to your project:
cd my_app - Run the app:
flutter run - Start coding! All the boilerplate is done.
- Backend Setup: Remember to configure your backend service (Firebase, Supabase, Appwrite) with your credentials
- Custom Modifications: All generated code is yours to modify
- Clean Code: Generated projects follow industry best practices
- Production Ready: Code is analysis-clean and null-safe
If you see this error after installation, make sure the Dart system cache is in your PATH.
Windows:
- Add
%LOCALAPPDATA%\Pub\Cache\binto your PATH environment variable.- This is usually:
C:\Users\<YourUsername>\AppData\Local\Pub\Cache\bin
- This is usually:
- Restart your terminal (or VS Code) for the changes to take effect.
Linux/Mac:
Add $HOME/.pub-cache/bin to your PATH.
export PATH="$PATH":"$HOME/.pub-cache/bin"This tool requires Git to be installed and available in your PATH to initialize repositories.
Happy Coding! π
Built with β€οΈ for the Flutter community