mainAxis property

Axis get mainAxis

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

Implementation

Axis get mainAxis => axisDirectionToAxis(axisDirection);