onScrollChanged property

void Function(T controller, int x, int y)? onScrollChanged
final

Event fired when the WebView scrolls.

x represents the current horizontal scroll origin in pixels.

y represents the current vertical scroll origin in pixels.

NOTE for Web: this event will be called only if the iframe has the same origin.

NOTE for MacOS: this method is implemented with using JavaScript.

Officially Supported Platforms/Implementations:

Implementation

final void Function(T controller, int x, int y)? onScrollChanged;