swipeThreshold property

double swipeThreshold
final

The offset threshold the item has to be dragged in order to be considered swiped.

Represented as a fraction, e.g. if it is 0.4 (the default), then the item has to be dragged at least 40% towards one direction to be considered swiped.

See also:

  • direction, which controls the directions in which the items can be swiped.

Implementation

final double swipeThreshold;