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