Version: 2019.1

Align

enumeration

Switch to Manual

Description

This enumeration contains values to control how an element is aligned in its parent during the layout phase.

The cross axis of a container is perpendicular to the primary axis on which children are laid out, that is, its flex direction.

Variables

AutoDefault value (currently FlexStart).
FlexStartItems are aligned at the beginning on the cross axis.
CenterItems are centered on the cross axis.
FlexEndItems are aligned at the end on the cross axis.
StretchStretches items on the cross axis.