setInvisibly method Null safety

void setInvisibly(
  1. PhotoViewScaleState newValue
)

Nevermind this method :D, look away Seriously: It is used to change scale state without trigging updates on the []

Implementation

void setInvisibly(PhotoViewScaleState newValue) {
  if (_scaleStateNotifier.value == newValue) {
    return;
  }
  prevScaleState = _scaleStateNotifier.value;
  _scaleStateNotifier.updateIgnoring(newValue);
}