WrapAlignment enum

How Wrap should align objects.

Used both to align children within a run in the main axis as well as to align the runs themselves in the cross axis.

Inheritance

Constructors

WrapAlignment()
const

Values

start → const WrapAlignment

Place the objects as close to the start of the 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.

end → const WrapAlignment

Place the objects as close to the end of the 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.

center → const WrapAlignment

Place the objects as close to the middle of the axis as possible.

spaceBetween → const WrapAlignment

Place the free space evenly between the objects.

spaceAround → const WrapAlignment

Place the free space evenly between the objects as well as half of that space before and after the first and last objects.

spaceEvenly → const WrapAlignment

Place the free space evenly between the objects as well as before and after the first and last objects.

Properties

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

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<WrapAlignment>
A constant List of the values in this enum, in order of their declaration.