scaleState property

PhotoViewScaleState get scaleState

The actual state value

Implementation

PhotoViewScaleState get scaleState => _scaleStateNotifier.value;
set 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;
}