Justify

enumeration

Switch to Manual

Description

This enumeration contains values to control how children are justified during layout.

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

Variables

FlexStartItems are justified towards the beginning of the main axis.
CenterItems are centered.
FlexEndItems are justified towards the end of the layout direction.
SpaceBetweenItems are evenly distributed in the line; first item is at the beginning of the line, last item is at the end.
SpaceAroundItems are evenly distributed in the line with extra space on each end of the line.