MultiTapGestureRecognizer constructor

MultiTapGestureRecognizer({
  1. Duration longTapDelay = Duration.zero,
  2. Object? debugOwner,
  3. Set<PointerDeviceKind>? supportedDevices,
  4. AllowedButtonsFilter allowedButtonsFilter = _defaultButtonAcceptBehavior,
})

Creates a multi-tap gesture recognizer.

The longTapDelay defaults to Duration.zero, which means onLongTapDown is called immediately after onTapDown.

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

MultiTapGestureRecognizer({
  this.longTapDelay = Duration.zero,
  super.debugOwner,
  super.supportedDevices,
  super.allowedButtonsFilter,
});