DelayedMultiDragGestureRecognizer constructor

DelayedMultiDragGestureRecognizer({Duration delay: kLongPressTimeout, Object debugOwner })

Creates a drag recognizer that works on a per-pointer basis after a delay.

In order for a drag to be recognized by this recognizer, the pointer must remain in the same place for delay (up to kTouchSlop). The delay defaults to kLongPressTimeout to match LongPressGestureRecognizer but can be changed for specific behaviors.

Implementation

DelayedMultiDragGestureRecognizer({
  this.delay = kLongPressTimeout,
  Object debugOwner,
}) : assert(delay != null),
     super(debugOwner: debugOwner);