handleScaleStart method

  1. @override
void handleScaleStart(
  1. ScaleStartDetails details
)

Implementation

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