SwipeGestureRecognizer constructor
SwipeGestureRecognizer({
- Object? debugOwner,
- Set<
PointerDeviceKind> ? supportedDevices, - DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- GestureVelocityTrackerBuilder velocityTrackerBuilder = _defaultBuilder,
- GestureSwipeCallback? onSwipe,
Initialize the object.
dragStartBehavior
must not be null.
Implementation
SwipeGestureRecognizer({
Object? debugOwner,
Set<PointerDeviceKind>? supportedDevices,
this.dragStartBehavior = DragStartBehavior.start,
this.velocityTrackerBuilder = _defaultBuilder,
this.onSwipe,
}) : super(debugOwner: debugOwner, supportedDevices: supportedDevices);