scrollTo method Null safety

Future<void> scrollTo(
  1. int x,
  2. int y
)

Sets the WebView's content scroll position.

The parameters x and y specify the scroll position in WebView pixels.

Implementation

Future<void> scrollTo(int x, int y) {
  return _webViewPlatformController.scrollTo(x, y);
}