StacWrapAlignment enum
Alignment options for Wrap widget children.
Determines how wrapped children are aligned within each run (line) of the wrap layout.
Values
- start → const StacWrapAlignment
-
Align children to the start of each run.
- end → const StacWrapAlignment
-
Align children to the end of each run.
- center → const StacWrapAlignment
-
Center children within each run.
- spaceBetween → const StacWrapAlignment
-
Place equal space between children in each run.
The first child is at the start, the last child is at the end, and remaining children are evenly distributed between them.
- spaceAround → const StacWrapAlignment
-
Place equal space around each child in each run.
Each child gets equal space on both sides, making the space between children twice the space at the edges.
- spaceEvenly → const StacWrapAlignment
-
Place equal space between and around children in each run.
All gaps (including before the first and after the last child) have equal spacing.
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<
StacWrapAlignment> - A constant List of the values in this enum, in order of their declaration.