Stage constructor

const Stage({
  1. Key? key,
  2. required Widget child,
  3. Map<DragStart, DragGesture>? drag,
  4. Map<ScaleStart, ScaleGesture>? scale,
  5. GestureConstraints? constraints,
  6. OnRelease? onRelease,
  7. OnStageTap? onTap,
  8. OnStageTap? onDoubleTap,
  9. double? doubleTapPullFactor,
  10. DragPromote? dragPromote,
  11. double? scaleVelocityCancel,
  12. Overrides? overrides,
  13. WidgetBuilder? overlay,
  14. DragHybrid? dragHybridFromStage,
  15. ScaleHybrid? scaleHybridFromStage,
})

Implementation

const Stage({
  super.key,
  required this.child,
  this.drag,
  this.scale,
  this.constraints,
  this.onRelease,
  this.onTap,
  this.onDoubleTap,
  this.doubleTapPullFactor,
  this.dragPromote,
  this.scaleVelocityCancel,
  this.overrides,
  this.overlay,
  this.dragHybridFromStage,
  this.scaleHybridFromStage,
});