Example · WorkflowMobile

Flutter screen scaffold loop with Cursor

From wireframe description → widget tree → golden test → theme tokens in under an hour.

0
M

Matios Apps

@matios-apps · Flutter + agents · widgets, state, and store releases

Inputs

  • design/spec.md — states, empty/error, accessibility notes
  • lib/theme/tokens.dart — spacing, radii, typography

Steps

  1. Agent generates feature_x_screen.dart + view model stub
  2. Extract repeated pieces to widgets/
  3. Add golden test with light + dark flutter test --update-goldens
  4. Widgetbook entry for design review

Prompt that works

“Use Material 3. No hard-coded colors. Prefer StatelessWidget until state is proven.”

Common Flutter gotchas we catch

  • BuildContext across async gaps
  • Missing semanticsLabel on icon-only buttons
  • Oversized ListView without builders

Comments (0)

No comments yet. Be the first to respond.