DragGestureRecognizer constructor

DragGestureRecognizer({Object debugOwner, DragStartBehavior dragStartBehavior: DragStartBehavior.down })

Initialize the object.

dragStartBehavior must not be null.

Implementation

DragGestureRecognizer({
  Object debugOwner,
  this.dragStartBehavior = DragStartBehavior.down,
}) : assert(dragStartBehavior != null),
     super(debugOwner: debugOwner);