CssAlign enum

CSS align-items and align-self.

Reads flex-start, flex-end, center, baseline, first baseline and stretch, plus the CSS Box Alignment names start, end, self-start, self-end and normal. normal reads as stretch, which is what CSS resolves it to on a flex container.

align-self: auto clears the item's own value, so the item takes the container's align-items. An unreadable value leaves the current value in place.

Inheritance
Available extensions

Values

start → const CssAlign
end → const CssAlign
center → const CssAlign
baseline → const CssAlign
stretch → const CssAlign

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