scaleState property Null safety
The actual state value
Implementation
PhotoViewScaleState get scaleState => _scaleStateNotifier.value;
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;
}