scale property

double scale

Gets the current scale.

Implementation

double get scale => max(_scale, 1);
void scale=(double value)

Sets the desired scale.

Implementation

set scale(double value) {
  _scale = max(value, 1);
  notifyListeners();
}