📝Flutter layout model
Flutter layout model can be described with a simple rule: “Constraints go down. Sizes go up. Parent sets position.”
- Widget receives size constraints
- Widget decides on its own size (within constraints) and returns it
- Parent selects the position for the widget
See also: