flutter_arch_cli 0.4.1
flutter_arch_cli: ^0.4.1 copied to clipboard
A CLI tool to scaffold Flutter projects with your chosen architecture, state management, and production-ready extras.
0.5.0 #
- Dependencies are now resolved to the latest compatible versions at scaffold time using
flutter pub addinstead of being pinned in the CLI, so generated projects automatically get current packages without needing version-bump releases - Migrated the Riverpod codegen stack to 3.x (
flutter_riverpodresolves to latest 3.x,riverpod_annotation: ^3.0.0,riverpod_generator: ^3.0.0) — the class-based codegen pattern is unchanged between 2.x and 3.x, so existing templates compile cleanly against the new versions - Migrated the freezed templates to 3.x syntax (
abstract class SampleState with _$SampleState— theabstractmodifier is required in freezed 3.x for simple data classes); pinnedfreezed: ^3.0.0andfreezed_annotation: ^3.0.0 - Migrated the manual Riverpod template from
StateNotifier(now legacy in Riverpod 3.x, requirespackage:flutter_riverpod/legacy.dart) toNotifier+NotifierProvider, the recommended API for new code - Agent context files (CLAUDE.md, AGENTS.md) updated to describe Riverpod 3.x behaviors: auto-retry by default,
==-based equality checks,ProviderExceptionwrapping, andRef.mounted - Cleaned up lint warnings in generated code so
flutter analyzeis clean on first run:auth_interceptor.dartnow exposes both a getter and setter fortokenpreferences_service.setBooluses a namedvalueparameter- All state management templates use
on Exception catch (e)instead of barecatch (e) - Removed unnecessary
foundation.dartimport from generatedmain.dart - Cleaned up
app_assets.dartto remove a dead private field
Thanks to community feedback for flagging the outdated StateNotifier template and stale dependency versions.
0.4.0 #
- Added optional "AI agent context" extra that generates
CLAUDE.md,AGENTS.md, and.cursorrulesfiles - Content adapts to architecture, state management, codegen, networking, and storage choices
- Files travel with the repo so every contributor's AI agent (Claude Code, Cursor, Windsurf, Copilot, etc.) gets the right project conventions
0.3.0 #
- Always scaffolds an
assets/folder with subfolders for images, icons, fonts, animations, and translations - Drops in tiny placeholder files so
flutter runworks on first try with no missing-asset errors - Auto-registers asset paths in
pubspec.yaml(except fonts, which need their own block) - Generates
lib/core/constants/app_assets.dartwith typed paths so widgets reference assets by constant, not string
0.2.0 #
- Added optional code generation for Riverpod (riverpod_generator + freezed)
- Auto-runs
dart run build_runner buildafter scaffolding when codegen is enabled - Falls back to printing the manual command if build_runner fails
0.1.0 #
Initial release.
createcommand with interactive prompts- Clean Architecture and Feature-first scaffolding
- Riverpod, Bloc, Provider state management generators
- Networking with dio + interceptors
- Local storage: shared_preferences, hive, isar, sqflite, flutter_secure_storage
- Material 3 light/dark theming
- very_good_analysis lint setup
- Test folder scaffolding mirroring lib structure
- Working main.dart with a sample screen for each state management option