zoomByWheelNotches method

bool zoomByWheelNotches(
  1. double notches, {
  2. Offset? anchor,
})

notches wheel notches worth of wheelStep, positive to zoom in.

See setZoom for the return value.

Implementation

bool zoomByWheelNotches(double notches, {Offset? anchor}) =>
    setZoom(value + wheelStep * notches, anchor: anchor);