Flutter Patterns¶
Workflow¶
- Inspect the current Flutter/Dart versions and state management before proposing changes.
- Keep domain logic testable outside widgets. Choose the simplest state solution consistent with the existing app.
- Handle loading, empty, error, cancellation, lifecycle and navigation states explicitly.
- Check semantics, text scaling, keyboard/focus behavior and platform-specific permissions.
- Run relevant Dart analysis, unit/widget tests and the available platform build; report unavailable device validation.
Completion¶
Return the concrete result, verification evidence and any material unresolved limitation. Keep documentation proportional to the change and preserve human feedback.
Focused references¶
- Detailed examples: load only the section relevant to the task.
Canonical source: skills/flutter-patterns/SKILL.md.