alignPanAxis property

  1. @Deprecated('Use panAxis instead. ' 'This feature was deprecated after v3.3.0-0.5.pre.')
bool alignPanAxis
final

This property is deprecated, please use panAxis instead.

If true, panning is only allowed in the direction of the horizontal axis or the vertical axis.

In other words, when this is true, diagonal panning is not allowed. A single gesture begun along one axis cannot also cause panning along the other axis without stopping and beginning a new gesture. This is a common pattern in tables where data is displayed in columns and rows.

See also:

  • constrained, which has an example of creating a table that uses alignPanAxis.

Implementation

@Deprecated(
  'Use panAxis instead. '
  'This feature was deprecated after v3.3.0-0.5.pre.',
)
final bool alignPanAxis;