direction property

AxisDirection get direction

Gets the down or right AxisDirection of this axis.

Implementation

AxisDirection get direction => this == Axis.vertical ?
  AxisDirection.down : AxisDirection.right;