✨Quick Start Tutorial

Quick Start Tutorial

This tutorial will help you create your first Flutter app using Flutter Bunny CLI.

Creating Your First Project

The easiest way to start is with the interactive setup:

flutter_bunny create

This will start the interactive wizard, which will guide you through:

  1. Entering a project name

  2. Selecting an architecture

  3. Choosing a state management solution

  4. Selecting features

  5. 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