reset method

  1. @override
void reset()

Implementation

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

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