OpsSStartDetails constructor

OpsSStartDetails({
  1. Map<int, Offset>? globalPointerLocations,
  2. Map<int, Offset>? localPointerLocations,
  3. Offset focalPoint = Offset.zero,
  4. Offset? localFocalPoint,
})

Creates details for GestureScaleStartCallback.

The focalPoint argument must not be null.

Implementation

OpsSStartDetails({
  this.globalPointerLocations,
  this.localPointerLocations,
  this.focalPoint = Offset.zero,
  Offset? localFocalPoint,
}) : localFocalPoint = localFocalPoint ?? focalPoint;