zoomIn method
void
zoomIn()
Increases the scale factor by _scaleIncrement
, up to _maxScale
.
Implementation
void zoomIn() {
if (_scale < _maxScale) {
_scale = (_scale + _scaleIncrement).clamp(_minScale, _maxScale);
notifyListeners();
}
}