AxisDirection enum Null safety

A direction along either the horizontal or vertical Axis.

Inheritance

Constructors

AxisDirection()
const

Values

up → const AxisDirection

Zero is at the bottom and positive values are above it:

Alphabetical content with a GrowthDirection.forward would have the A at the bottom and the Z at the top. This is an unusual configuration.

AxisDirection()

Zero is on the left and positive values are to the right of it:

Alphabetical content with a GrowthDirection.forward would have the A on the left and the Z on the right. This is the ordinary reading order for a horizontal set of tabs in an English application, for example.

AxisDirection()
down → const AxisDirection

Zero is at the top and positive values are below it:

Alphabetical content with a GrowthDirection.forward would have the A at the top and the Z at the bottom. This is the ordinary reading order for a vertical list.

AxisDirection()
left → const AxisDirection

Zero is to the right and positive values are to the left of it:

Alphabetical content with a GrowthDirection.forward would have the A at the right and the Z at the left. This is the ordinary reading order for a horizontal set of tabs in a Hebrew application, for example.

AxisDirection()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<AxisDirection>
A constant List of the values in this enum, in order of their declaration.
[up, right, down, left]