reset method

void reset()

Implementation

void reset() {
  _gestureConfig = widget
          .extendedImageState.imageWidget.initGestureConfigHandler
          ?.call(widget.extendedImageState) ??
      GestureConfig();

  gestureDetails = GestureDetails(
    totalScale: _gestureConfig!.initialScale,
    offset: Offset.zero,
  )..initialAlignment = _gestureConfig!.initialAlignment;
}