DragGesture constructor

const DragGesture({
  1. GestureBounds bounds = const GestureBounds(),
  2. GestureConstraints? constraints,
  3. StageBuilder? builder,
  4. OnRelease? onRelease,
  5. double? scaleVelocityCancel,
  6. DragGesture? override(
    1. Rect startRect,
    2. Rect baseRect
    )?,
  7. DragHybrid? hybridFromStage,
  8. DragPromote? promote,
})

Implementation

const DragGesture({
  super.bounds,
  super.constraints,
  super.builder,
  super.onRelease,
  super.scaleVelocityCancel,
  this.override,
  this.hybridFromStage,
  this.promote,
});