reset method

void reset()

Resets the state to the initial value;

Implementation

void reset() {
  prevScaleState = scaleState;
  scaleState = PhotoViewScaleState.initial;
}