AxisDirection enum

A direction along either the horizontal or vertical Axis.

Constants

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.

const AxisDirection(2)
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.

const AxisDirection(3)

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.

const AxisDirection(1)
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.

const AxisDirection(0)
values → const List<AxisDirection>

A constant List of the values in this enum, in order of their declaration.

const List<AxisDirection>

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited