BaseTapAndDragGestureRecognizer constructor
- {Object? debugOwner,
- Set<
PointerDeviceKind> ? supportedDevices, - AllowedButtonsFilter? allowedButtonsFilter}
Creates a tap and drag gesture recognizer.
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
BaseTapAndDragGestureRecognizer({
super.debugOwner,
super.supportedDevices,
super.allowedButtonsFilter,
}) : _deadline = kPressTimeout,
dragStartBehavior = DragStartBehavior.start;