CompetitiveDragGestureRecognizer constructor

CompetitiveDragGestureRecognizer({
  1. Object? debugOwner,
  2. Set<PointerDeviceKind>? supportedDevices,
  3. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  4. 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);