handleScaleStart method

void handleScaleStart(
  1. ScaleStartDetails details
)

Implementation

void handleScaleStart(ScaleStartDetails details) {
  _gestureAnimation.stop();
  _normalizedOffset = (details.focalPoint - _gestureDetails!.offset!) /
      _gestureDetails!.totalScale!;
  _startingScale = _gestureDetails!.totalScale;
  _startingOffset = details.focalPoint;
}