zoomLevel property

double get zoomLevel

Holds the current zoomLevel of the zoomable widget.

Implementation

double get zoomLevel => _zoomLevel;
set zoomLevel (double value)

Implementation

set zoomLevel(double value) {
  assert(value >= 1);
  if (_zoomLevel == value) {
    return;
  }
  // Handles interaction.
  // if (action != ActionType.none) {
  _zoomLevel = value;
  //   return;
  // }
  // Handles programmatic updates.
  // _onZoomLevelChange?.call(value);
}