panAxis property

PanAxis panAxis
final

When set to PanAxis.aligned, panning is only allowed in the horizontal axis or the vertical axis, diagonal panning is not allowed.

When set to PanAxis.vertical or PanAxis.horizontal panning is only allowed in the specified axis. For example, if set to PanAxis.vertical, panning will only be allowed in the vertical axis. And if set to PanAxis.horizontal, panning will only be allowed in the horizontal axis.

When set to PanAxis.free panning is allowed in all directions.

Defaults to PanAxis.free.

Implementation

final PanAxis panAxis;