flutter-use-column-row-first
Installation
SKILL.md
Flutter Use Column Row First
Build responsive Flutter layouts from the constraint system outward. Prefer simple flex composition and introduce fixed dimensions or overlays only when the design requires them for a concrete purpose.
Layout workflow
- Identify each group as primarily vertical, horizontal, overlapping, scrolling, or wrapping.
- Start vertical groups with
Columnand horizontal groups withRow. - Nest small, named widgets instead of building one deeply nested
buildmethod. - Use
Expanded,Flexible, andSpacerto distribute bounded free space. - Add padding, alignment, aspect ratio, and constraints intentionally.
- Test narrow and wide constraints, text scaling, keyboard appearance, and long or localized content.