PointerPanZoomUpdateEvent constructor

const PointerPanZoomUpdateEvent({
  1. int viewId = 0,
  2. Duration timeStamp = Duration.zero,
  3. int device = 0,
  4. int pointer = 0,
  5. Offset position = Offset.zero,
  6. int embedderId = 0,
  7. Offset pan = Offset.zero,
  8. Offset panDelta = Offset.zero,
  9. double scale = 1.0,
  10. double rotation = 0.0,
  11. bool synthesized = false,
})

Creates a pointer pan/zoom update event.

Implementation

const PointerPanZoomUpdateEvent({
  super.viewId,
  super.timeStamp,
  super.device,
  super.pointer,
  super.position,
  super.embedderId,
  this.pan = Offset.zero,
  this.panDelta = Offset.zero,
  this.scale = 1.0,
  this.rotation = 0.0,
  super.synthesized,
}) : super(kind: PointerDeviceKind.trackpad);