threshold property

double threshold
final

The minimum distance a user has to pan the card before triggering a swipe animation.

If a pan is less than threshold the card will animate back to it's original position and the card stack will not change.

Implementation

final double threshold;