TapAndHorizontalDragGestureRecognizer constructor

TapAndHorizontalDragGestureRecognizer({
  1. Object? debugOwner,
  2. Set<PointerDeviceKind>? supportedDevices,
})

Create a gesture recognizer for interactions in the horizontal axis.

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

TapAndHorizontalDragGestureRecognizer({
  super.debugOwner,
  super.supportedDevices,
});