MultiTapGestureRecognizer constructor Null safety
- {Duration longTapDelay = Duration.zero,
- Object? debugOwner,
- @Deprecated('Migrate to supportedDevices. ' 'This feature was deprecated after v2.3.0-1.0.pre.') PointerDeviceKind? kind,
- Set<
PointerDeviceKind> ? supportedDevices}
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,
@Deprecated(
'Migrate to supportedDevices. '
'This feature was deprecated after v2.3.0-1.0.pre.',
)
super.kind,
super.supportedDevices,
});