API reference

Alignment Enum

Alignment options for positioning children within a FlexBox layout.
Controls how children are aligned along the main axis (FlexBoxScope.flexBoxalignment) or cross axis (FlexBoxScope.flexBoxcrossAlignment), and how individual children override their parent's cross-axis alignment via alignSelf.

See Also

Signature

enum Alignment : Enum<Alignment> 

Enumeration Constants

MemberDescription
START
Align children to the start of the axis.
CENTER
Center children along the axis.
END
Align children to the end of the axis.
STRETCH
Stretch children to fill the available space along the cross axis.