zoomOut method

void zoomOut()

Decreases the scale factor by _scaleIncrement, down to _minScale.

Implementation

void zoomOut() {
  if (_scale > _minScale) {
    _scale = (_scale - _scaleIncrement).clamp(_minScale, _maxScale);
    notifyListeners();
  }
}