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.
- horizontal → const Axis
Left and right.
- TextDirection, which disambiguates between left-to-right horizontal content and right-to-left horizontal content.
→ const List<
A constant List of the values in this enum, in order of their declaration.
- vertical → const Axis
Up and down.