WrapCrossAlignment enum Null safety

Who Wrap should align children within a run in the cross axis.

Inheritance

Constructors

WrapCrossAlignment()
const

Values

start → const WrapCrossAlignment

Place the children as close to the start of the run in the cross axis as possible.

If this value is used in a horizontal direction, a TextDirection must be available to determine if the start is the left or the right.

If this value is used in a vertical direction, a VerticalDirection must be available to determine if the start is the top or the bottom.

WrapCrossAlignment()
end → const WrapCrossAlignment

Place the children as close to the end of the run in the cross axis as possible.

If this value is used in a horizontal direction, a TextDirection must be available to determine if the end is the left or the right.

If this value is used in a vertical direction, a VerticalDirection must be available to determine if the end is the top or the bottom.

WrapCrossAlignment()
center → const WrapCrossAlignment

Place the children as close to the middle of the run in the cross axis as possible.

WrapCrossAlignment()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<WrapCrossAlignment>
A constant List of the values in this enum, in order of their declaration.
[start, end, center]