v1.0.0
Production Ready

Documentation

Everything you need to build production-ready Flutter applications with enterprise-grade architecture and zero boilerplate.

Quick Start

Get up and running in under 2 minutes


1
Install Flutter Blueprint

Install the CLI tool globally using Dart pub:

dart pub global activate flutter_blueprint
2
Create Your Project

Initialize a new Flutter project with your preferred state management:

flutter_blueprint init my_app

πŸ’‘ Tip: Add --state-management riverpod to choose your state solution

3
Run Your App

Navigate to your project and run it:

cd my_app
flutter pub get
flutter run

πŸŽ‰ You're all set!

Your project includes 88+ files, authentication, offline-first architecture, CI/CD pipelines, and passes 757 testsβ€”ready for production.

CLI Commands

Powerful commands to supercharge your workflow


init [project_name]

Initialize a new Flutter project with your chosen architecture.

flutter_blueprint init my_app --state-management riverpod
add-feature [name]

Add a new feature module with complete architecture layers.

flutter_blueprint add-feature user_profile
analyze

Analyze your project for code quality and performance issues.

flutter_blueprint analyze

Core Features

State Management

Choose from Riverpod, BLoC, Provider, GetX, or MobX. Each comes with complete setup and best practices.

Riverpod 2.x with code generation

BLoC pattern with Hydrated Bloc

Provider with ChangeNotifier

GetX reactive state

Authentication & Security

Enterprise-grade authentication with JWT, OAuth 2.0, biometric auth, and secure storage.

JWT token management

OAuth 2.0 (Google, Apple, GitHub)

Biometric authentication

Encrypted local storage

Offline-First Architecture

Built-in sync queue, conflict resolution, background sync, and network monitoring.

Automatic data synchronization

Conflict resolution strategies

Background sync worker

Network connectivity monitoring

Performance Optimization

Optimized for speed with lazy loading, image caching, and memory management.

Lazy loading & code splitting

Image caching with flutter_cache_manager

Memory leak detection

Optimized bundle size

πŸ“ Project Structure

Clean architecture with clear separation of concerns:

lib/
β”œβ”€β”€ core/              # Core functionality
β”‚   β”œβ”€β”€ auth/         # Authentication logic
β”‚   β”œβ”€β”€ network/      # API & HTTP clients
β”‚   β”œβ”€β”€ storage/      # Local storage
β”‚   └── utils/        # Helpers & extensions
β”œβ”€β”€ features/         # Feature modules
β”‚   β”œβ”€β”€ home/
β”‚   β”œβ”€β”€ profile/
β”‚   └── settings/
β”œβ”€β”€ shared/           # Shared widgets & models
β”‚   β”œβ”€β”€ widgets/
β”‚   β”œβ”€β”€ models/
β”‚   └── providers/
└── main.dart         # Entry point

βš™οΈ Requirements

βœ“

Flutter SDK 3.19.0 or higher

Latest stable version recommended

βœ“

Dart SDK 3.3.0 or higher

Included with Flutter SDK

βœ“

Active internet connection

For downloading packages and dependencies