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.
FlexStart | Items are justified towards the beginning of the main axis. |
Center | Items are centered. |
FlexEnd | Items are justified towards the end of the layout direction. |
SpaceBetween | Items are evenly distributed in the line; first item is at the beginning of the line, last item is at the end. |
SpaceAround | Items are evenly distributed in the line with extra space on each end of the line. |