create_flutter_cli
A command-line tool that scaffolds a Flutter project with predefined architecture including:
- State management (Provider, BLoC, GetX, Riverpod)
- Light/Dark theme support
- Networking (REST or GraphQL)
- Routing setup
- Folder structure generation
- API request/response model generation
🚀 Getting Started
✅ Activate the CLI (local or global)
dart pub global activate --source path .
Libraries
- create_flutter_cli
- templates/api/api_client
- templates/api/environment_configuration
- templates/api/error_map
- templates/api/graphql_client
- templates/api/response_handler
- templates/bloc/bloc
- templates/localizations/app_localization
- templates/localizations/translate_helper
- templates/models/example_model
- templates/provider/main_provider
- templates/provider/provider
- templates/repository/repository
- templates/riverpod/riverpod
- templates/theme/app_colors
- templates/theme/theme
- templates/yaml/yaml_template