β¨Quick Start Tutorial
Quick Start Tutorial
This tutorial will help you create your first Flutter app using Flutter Bunny CLI.
Creating Your First Project
Interactive Setup (Recommended for New Users)
The easiest way to start is with the interactive setup:
flutter_bunny create
This will start the interactive wizard, which will guide you through:
Entering a project name
Selecting an architecture
Choosing a state management solution
Selecting features
Adding core modules
Follow the prompts, and the wizard will generate your project based on your selections.
Quick Creation
If you want to create a project quickly with minimal configuration:
flutter_bunny create app --name=my_first_app
This command creates a new Flutter app with:
Default architecture (Clean Architecture)
Default state management (Provider)
Basic features (Authentication)
Core modules (Theme Manager, Network Layer)
Custom Creation
For full control over your project configuration:
flutter_bunny create app
Project Structure
After generation, your project will have a structure similar to this (varies based on selected architecture):
my_first_app/
βββ lib/
β βββ app/
β β βββ app.dart
β β βββ app_router.dart
β βββ core/
β β βββ design_system/
β β βββ error/
β β βββ network/
β β βββ utils/
β βββ features/
β βββ authentication/
β βββ home/
β βββ settings/
βββ test/
βββ pubspec.yaml
βββ README.md
Running Your Project
Navigate to your project directory:
cd my_first_app
Get dependencies:
flutter pub get
Run the app:
flutter run
Last updated