normalizedZoom property

double get normalizedZoom

The current zoom value normalized to a 0.0-1.0 range.

  • 0.0 = at minZoom (most zoomed out)
  • 1.0 = at maxZoom (most zoomed in)

This value is computed from the viewport zoom and the min/max zoom settings in NodeFlowConfig.

Implementation

double get normalizedZoom => _normalizedZoom.value;