How the children should be placed along the cross axis in a flex layout.
Constants
- baseline → CrossAxisAlignment
-
Place the children along the cross axis such that their baselines match.
const CrossAxisAlignment(4)
- center → CrossAxisAlignment
-
Place the children as close to the middle of the cross axis as possible.
const CrossAxisAlignment(2)
- end → CrossAxisAlignment
-
Place the children as close to the end of the cross axis as possible.
const CrossAxisAlignment(1)
- start → CrossAxisAlignment
-
Place the children as close to the start of the cross axis as possible.
const CrossAxisAlignment(0)
- stretch → CrossAxisAlignment
-
Require the children to fill the cross axis.
const CrossAxisAlignment(3)
- values → List<CrossAxisAlignment>
-
A constant List of the values in this enum, in order of their declaration.
const List<CrossAxisAlignment>
Properties
- index → int
-
read-only
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited