PointerScaleEvent constructor

const PointerScaleEvent({
  1. int viewId = 0,
  2. Duration timeStamp = Duration.zero,
  3. PointerDeviceKind kind = PointerDeviceKind.mouse,
  4. int device = 0,
  5. Offset position = Offset.zero,
  6. int embedderId = 0,
  7. double scale = 1.0,
})

Creates a pointer scale event.

Implementation

const PointerScaleEvent({
  super.viewId,
  super.timeStamp,
  super.kind,
  super.device,
  super.position,
  super.embedderId,
  this.scale = 1.0,
});