touchSlop property

double touchSlop
final

the distance at which the minimum pixel must be moved to accurately define the gesture.

  • Pointer down -> Move more than touchSlop -> Cancel all ripple event
  • Must be adjust the kTouchSlop to prevent the scroll from being delayed the kTouchSlop is recommend 5 to 8.

Implementation

final double touchSlop;