Arrangement
Types
Used to specify the horizontal arrangement of the layout's children in layouts like Row.
Properties
Place children vertically such that they are as close as possible to the bottom of the main axis. Visually: (top) ####123 (bottom)
Place children such that they are as close as possible to the middle of the main axis. Visually: ##123## for LTR.
Place children horizontally such that they are as close as possible to the end of the main axis. Visually: ####123.
Place children such that they are spaced evenly across the main axis, including free space before the first child and after the last child, but half the amount of space existing otherwise between two consecutive children. Visually: #1##2##3# for LTR.
Place children such that they are spaced evenly across the main axis, without free space before the first child or after the last child. Visually: 1##2##3 for LTR.
Place children such that they are spaced evenly across the main axis, including free space before the first child and after the last child. Visually: #1#2#3# for LTR.
Place children horizontally such that they are as close as possible to the beginning of the horizontal axis (left). Visually: 123####.
Place children vertically such that they are as close as possible to the top of the main axis. Visually: (top) 123#### (bottom)
Functions
Place children such that each two adjacent ones are spaced by a fixed space distance across the main axis. The spacing will be subtracted from the available space that the children can occupy. The space can be negative, in which case children will overlap.
Place children horizontally such that each two adjacent ones are spaced by a fixed space distance. The spacing will be subtracted from the available width that the children can occupy. An alignment can be specified to align the spaced children horizontally inside the parent, in case there is empty width remaining. The space can be negative, in which case children will overlap.
Place children vertically such that each two adjacent ones are spaced by a fixed space distance. The spacing will be subtracted from the available height that the children can occupy. An alignment can be specified to align the spaced children vertically inside the parent, in case there is empty height remaining. The space can be negative, in which case children will overlap.