A powerful CLI tool to instantly scaffold a modern Flutter app with your custom architecture and preferred state management: Simple GetX, Reactive GetX, Provider, or Bloc. Designed for productivity, best practices, and rapid prototyping.
- 📁 Custom folder structure with best practices
- 🔧 Supports 3 state management options:
- ✅ Simple GetX
- 🔄 Reactive GetX
- 🧩 Provider
- ⚙️ Bloc + Equatable
- 📦 Auto-installs essential dependencies:
- Common: shared_preferences, dynamicutils, http, connectivity_plus, file_picker, cached_network_image, flutter_offline, image_picker
- GetX: get, get_storage
- Provider: provider, flutter_localization
-
Bloc:
flutter_bloc
,equatable
- 🔁 Handles package import replacement automatically
- 📂 Creates
assets/images/
and auto-links it inpubspec.yaml
- 🌐 Adds common API handler class with:
-
GET
,POST
,PUT
,DELETE
, andFormData
methods - Reusable and customizable HTTP logic
-
- 🧩 Generates reusable structure in:
-
repository/
– Centralized API layer -
controller/
orbloc/
– Clean integration with controller logic
-
- 📡 Handles offline support with:
-
OfflineBuilder
for no-network banners - Optional offline full screen layout (pre-coded)
-
Install the CLI tool globally using npm:
npm install -g flutter_init
After installation, simply run:
flutter-init