TransformGesture constructor

const TransformGesture({
  1. bool enabled = true,
  2. TransformTarget target = TransformTarget.node,
  3. TransformPan pan = TransformPan.always,
  4. bool zoom = true,
  5. bool rotate = false,
  6. double minScale = 1,
  7. double maxScale = 4,
  8. GestureBounds bounds = GestureBounds.cover,
  9. double doubleTapScale = 2.5,
  10. WheelZoom wheel = WheelZoom.ctrlZoom,
  11. GesturePhysics? physics,
  12. String xVariable = '',
  13. String yVariable = '',
  14. String scaleVariable = '',
  15. String rotationVariable = '',
  16. String scaleXVariable = '',
  17. String scaleYVariable = '',
  18. TransformHandles? handles,
  19. double? x,
  20. double? y,
  21. double? scale,
  22. double? rotation,
  23. double? scaleX,
  24. double? scaleY,
})

Implementation

const TransformGesture({
  this.enabled = true,
  this.target = TransformTarget.node,
  this.pan = TransformPan.always,
  this.zoom = true,
  this.rotate = false,
  this.minScale = 1,
  this.maxScale = 4,
  this.bounds = GestureBounds.cover,
  this.doubleTapScale = 2.5,
  this.wheel = WheelZoom.ctrlZoom,
  this.physics,
  this.xVariable = '',
  this.yVariable = '',
  this.scaleVariable = '',
  this.rotationVariable = '',
  this.scaleXVariable = '',
  this.scaleYVariable = '',
  this.handles,
  this.x,
  this.y,
  this.scale,
  this.rotation,
  this.scaleX,
  this.scaleY,
});