onScrollChanged property Null safety

(void Function?(InAppWebViewController 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.

Official Android API: https://developer.android.com/reference/android/webkit/WebView#onScrollChanged(int,%20int,%20int,%20int)

Official iOS API: https://developer.apple.com/documentation/uikit/uiscrollviewdelegate/1619392-scrollviewdidscroll

Implementation

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