scroll method

void scroll(
  1. Offset scrollDelta
)

Scrolls at the pointer's location by scrollDelta logical pixels, driving scrollables in the hovered widget surface.

Implementation

void scroll(Offset scrollDelta) {
  final target = hoveredWidget;
  if (target == null) return;
  target.controller.pointerScroll(_lastUv, scrollDelta);
}