ScaleStartDetails constructor

ScaleStartDetails({
  1. Offset focalPoint = Offset.zero,
  2. Offset? localFocalPoint,
  3. int pointerCount = 0,
  4. Duration? sourceTimeStamp,
})

Creates details for GestureScaleStartCallback.

Implementation

ScaleStartDetails({
  this.focalPoint = Offset.zero,
  Offset? localFocalPoint,
  this.pointerCount = 0,
  this.sourceTimeStamp,
}) : localFocalPoint = localFocalPoint ?? focalPoint;