blockModifierScroll property

bool? blockModifierScroll
final

Whether to block normal scrolling while Ctrl (Windows/Linux) or Cmd (macOS) is held, so that those scroll events can be used for zoom/scale instead.

Defaults to null, which follows onScaleChanged: blocking is enabled when onScaleChanged is non-null, and disabled otherwise.

Implementation

final bool? blockModifierScroll;