scrollBy method Null safety

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

Move the scrolled position of this view.

The parameters x and y specify the amount of WebView pixels to scroll by horizontally and vertically respectively.

Implementation

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