AlignSelf enum

Overrides a flex item's align-items value

Inheritance

Constructors

AlignSelf()
const

Values

auto → const AlignSelf

Computes to the parent's align-items value.

flexStart → const AlignSelf

The cross-start margin edges of the flex items are flushed with the cross-start edge of the line.

start → const AlignSelf

The items are packed flush to each other toward the start edge of the alignment container in the appropriate axis.

flexEnd → const AlignSelf

The cross-end margin edges of the flex items are flushed with the cross-end edge of the line.

end → const AlignSelf

The items are packed flush to each other toward the end edge of the alignment container in the appropriate axis.

center → const AlignSelf

The flex items' margin boxes are centered within the line on the cross-axis. If the cross-size of an item is larger than the flex container, it will overflow equally in both directions.

stretch → const AlignSelf

Flex items are stretched such that the cross-size of the item's margin box is the same as the line while respecting width and height constraints.

baseline → const AlignSelf

All flex items are aligned such that their flex container baselines align. The item with the largest distance between its cross-start margin edge and its baseline is flushed with the cross-start edge of the line.

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