Alignment enum
Defines how child elements are horizontally aligned within a FlintColumn.
Maps directly to CSS align-items.
Values
- left → const Alignment
-
Aligns children to the left (CSS:
flex-start).const Alignment('flex-start') - right → const Alignment
-
Aligns children to the right (CSS:
flex-end).const Alignment('flex-end') - center → const Alignment
-
Centers children horizontally (CSS:
center).const Alignment('center') - stretch → const Alignment
-
Stretches children to fill available horizontal space (CSS:
stretch).const Alignment('stretch')
Properties
- cssValue → String
-
The corresponding CSS value for this alignment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
The string name used for JSON serialization.
no setter
- 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