CrossAlignment enum
How the children should be placed along the cross axis in a layout.
Inspired by Flutter CrossAxisAlignment
Constructors
- CrossAlignment()
-
const
Values
- start → const CrossAlignment
-
Place the children with their start edge aligned with the start side of the cross axis.
- end → const CrossAlignment
-
Place the children as close to the end of the cross axis as possible.
- center → const CrossAlignment
-
Place the children so that their centers align with the middle of the cross axis.
This is the default cross-axis alignment.
- stretch → const CrossAlignment
-
Require the children to fill the cross axis.
This causes the constraints passed to the children to be tight in the cross axis.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
CrossAlignment> - A constant List of the values in this enum, in order of their declaration.