Stack:
Flutter (Dart)
Flutter preset
A reasoning guide the onboard flow uses for Flutter and Dart projects. It is a checklist, not a template — detected reality wins.
Signals
pubspec.yamlwith aflutterdependency andlib/main.dartwith arunApp/MaterialAppentry.- Widgets (
StatelessWidget/StatefulWidget),analysis_options.yaml, andtest/withflutter test. - State management (Provider, Riverpod, or Bloc) and code generation (
build_runner,json_serializable) if present.
What to reason about
- The real test (
flutter test), analyze (flutter analyze), format (dart format), and build (flutter build <target>) commands — captured verbatim. - The state-management approach in use and the widget/feature folder conventions under
lib/. - Whether code generation is used (
dart run build_runner build) and which targets exist.
Notes
Confirm the state-management library and any build_runner step from pubspec.yaml; both shape the generated skills.