Skip to main content

Module layout

Module layout 

Source
Expand description

Box-constraint layout model.

Constraints flow down the widget tree; sizes flow up. This is the Flutter/Masonry box model — not full CSS. A parent hands each child a BoxConstraints describing the allowed min/max size, and the child returns the concrete Size it chose within those bounds.

Structs§

BoxConstraints
Immutable min/max size bounds passed down during layout.