FlexAlignment enum

Alignment method in the main axis for FlexComponent (Row and Column).

Inheritance
Available extensions

Values

start → const FlexAlignment

Cluster children at the start of the container, leaving empty space at the end.

end → const FlexAlignment

Cluster children at the end of the container, leaving empty space at the start.

center → const FlexAlignment

Cluster children in the centre of the container, splitting empty space at either end.

spaceAround → const FlexAlignment

Space children evenly, including a share of space at either end of the context.

spaceBetween → const FlexAlignment

Space children evenly without any extra space at the start or end of the context.

tight → const FlexAlignment

Reports the sum of children's main axis sizes as this component's size, leaving no free space. This fails if any children are unsized.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<FlexAlignment>
A constant List of the values in this enum, in order of their declaration.