Expand description
Length resolution and main-axis space distribution.
Functions§
- clamp_
to - Constrains
sizeto the given minimum and maximum constraints. - distribute_
main - Distributes free space or a deficit across main-axis bases.
- distribute_
main_ clamped - Distributes main-axis space while respecting per-item min/max limits.
- resolve_
cross - Resolves a length along the cross axis to a concrete size.
- resolve_
flex_ basis - Resolves a flex basis, preferring
basisover thefallbackresult. - resolve_
main - Resolves a length along the main axis.