mainAxis property

Axis mainAxis

The axis (horizontal or vertical) corresponding to the current axisDirection.

Implementation

Axis get mainAxis => axisDirectionToAxis(axisDirection);