DelayedMultiDragGestureRecognizer constructor
- Duration delay = kLongPressTimeout,
- Object? debugOwner,
- Set<
PointerDeviceKind> ? supportedDevices, - AllowedButtonsFilter? allowedButtonsFilter,
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.
It's possible to limit this recognizer to a specific set of PointerDeviceKinds by providing the optional supportedDevices argument. If supportedDevices is null, the recognizer will accept pointer events from all device kinds.
Implementation
DelayedMultiDragGestureRecognizer({
this.delay = kLongPressTimeout,
super.debugOwner,
super.supportedDevices,
super.allowedButtonsFilter,
});