Axis enum Null safety
The two cardinal directions in two dimensions.
The axis is always relative to the current coordinate space. This means, for example, that a horizontal axis might actually be diagonally from top right to bottom left, due to some local Transform applied to the scene.
See also:
- AxisDirection, which is a directional version of this enum (with values light left and right, rather than just horizontal).
- TextDirection, which disambiguates between left-to-right horizontal content and right-to-left horizontal content.
Constructors
- Axis()
-
const
Values
- horizontal → const Axis
-
Left and right.
See also:
- TextDirection, which disambiguates between left-to-right horizontal content and right-to-left horizontal content.
Axis()
- vertical → const Axis
-
Up and down.
Axis()
Properties
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