flutter-fix-layout-issues
Installation
SKILL.md
Contents
- Constraint Model
- Error Signature Catalog
- Resolution Patterns
- Workflow: Fixing Layout Issues
- Examples
Constraint Model
Flutter layout operates on a strict negotiation rule:
Constraints go down. Sizes go up. Parent sets position.
- A parent widget passes constraints (min/max width and height) to its child.
- The child determines its own size within those constraints.
- The parent decides the child's position.
Layout errors occur when this negotiation fails — typically when a parent provides unbounded constraints (infinite width or height) and the child attempts to expand infinitely.