axis property Null safety
The axis along which the viewport scrolls.
For example, if the axisDirection is AxisDirection.down, then the axis is Axis.vertical and the viewport scrolls vertically.
Implementation
Axis get axis => axisDirectionToAxis(axisDirection);