scaleState property

PhotoViewScaleState scaleState

The actual state value

Implementation

PhotoViewScaleState get scaleState => _scaleStateNotifier.value;
void scaleState=(PhotoViewScaleState newValue)

Updates scaleState and notify all listeners (and the stream)

Implementation

set scaleState(PhotoViewScaleState newValue) {
  if (_scaleStateNotifier.value == newValue) {
    return;
  }

  prevScaleState = _scaleStateNotifier.value;
  _scaleStateNotifier.value = newValue;
}