DragScaleGestureDetector constructor

const DragScaleGestureDetector({
  1. Key? key,
  2. GestureScaleStartCallback? onScaleStart,
  3. GestureScaleUpdateCallback? onScaleUpdate,
  4. GestureScaleEndCallback? onScaleEnd,
  5. GestureDragDownCallback? onHorizontalDragDown,
  6. GestureDragStartCallback? onHorizontalDragStart,
  7. GestureDragUpdateCallback? onHorizontalDragUpdate,
  8. GestureDragEndCallback? onHorizontalDragEnd,
  9. GestureDragCancelCallback? onHorizontalDragCancel,
  10. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  11. GestureTapUpCallback? onTapUp,
  12. GestureLongPressStartCallback? onLongPressStart,
  13. GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate,
  14. GestureLongPressUpCallback? onLongPressUp,
  15. GestureLongPressEndCallback? onLongPressEnd,
  16. GestureLongPressCancelCallback? onLongPressCancel,
  17. required Widget child,
})

Implementation

const DragScaleGestureDetector({
  super.key,
  this.onScaleStart,
  this.onScaleUpdate,
  this.onScaleEnd,
  this.onHorizontalDragDown,
  this.onHorizontalDragStart,
  this.onHorizontalDragUpdate,
  this.onHorizontalDragEnd,
  this.onHorizontalDragCancel,
  this.dragStartBehavior = DragStartBehavior.start,
  this.onTapUp,
  this.onLongPressStart,
  this.onLongPressMoveUpdate,
  this.onLongPressUp,
  this.onLongPressEnd,
  this.onLongPressCancel,
  required this.child,
});