FlexDirection enum

sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).

Inheritance
Available extensions

Values

row → const FlexDirection

The flex container's main-axis is defined to be the same as the text direction. The main-start and main-end points are the same as the content direction.

rowReverse → const FlexDirection

Behaves the same as row but the main-start and main-end points are permuted.

column → const FlexDirection

The flex container's main-axis is the same as the block-axis. The main-start and main-end points are the same as the before and after points of the writing-mode.

columnReverse → const FlexDirection

Behaves the same as column but the main-start and main-end are permuted.

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