zoomFactor property
Multiplier by which the view is zoomed. Must be at least 1.0.
Implementation
double get zoomFactor => _zoomFactor;
Implementation
set zoomFactor(double value) {
if (value < 1.0) {
throw ArgumentError.value(value, 'zoomFactor', 'Must be at least 1.0');
}
if (value == _zoomFactor) return;
_zoomFactor = value;
notifyListeners();
}