Project rules
Flutter Rules
Project rules for Flutter apps: feature folders, one state solution, const widgets, ThemeData tokens and widget and unit tests.
CLAUDE.md
1Layout
2- Organize by feature: `lib/features/<name>/{data,domain,presentation}`, with shared code in `lib/core`. Keep `main.dart` to bootstrapping.
3- Enable `flutter_lints` or stricter in `analysis_options.yaml` and fix every warning.
4State
5- Choose one solution per app (Riverpod or Bloc) and use it everywhere. Keep `setState` for purely local, ephemeral UI state.
flutterdart
#
Flutter Rules
Project rulesflutter
Free