Enumeration Alignment

Alignment of container contents. Used for when Container has too much space.

Enumeration Members

Enumeration Members

Center

Align the child to the center of the container, having the extra space split equally to both the start and the end. Equivalent to using a ratio of 0.5.

End

Align the child to the end of the container, having the extra space at the start. Equivalent to using a ratio of 1.

SoftStretch

Propagates minimum axis length to the child (taking into account container padding), potentially stretching it, but not growing it beyond the minimum container axis length unless necessary.

Does something similar in MultiContainer cross-axis lengths; propagates the minimum axis length and, if the final cross axis length exceeds the minimum axis length, then re-propagates the final axis length to all children, effectively stretching the MultiContainer contents on the cross axis without artificially growing the cross axis.

Start

Align the child to the start of the container, having the extra space at the end. Equivalent to using a ratio of 0.

Stretch

Give the maximum available space to the child (taking into account container padding), potentially stretching it.