MainAxisAlignment
Main axis distribution options
Distributes children along the main axis: vertical in a Column, horizontal in a Row. The stack always fills its main axis, so every value has space to work with. start and end push content to one end, center pads both, and the space* values share the gap between children. spaceAround currently renders the same as spaceEvenly.
Properties
startStringcenterStringendStringspaceBetweenStringspaceAroundStringspaceEvenlyStringExamples
Pushing content apart
// header at the top, controls at the bottom, gap in between
Column({
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [header, controls],
})