scrollBy method
Move the scrolled position of this view.
The parameters x
and y
specify the amount of WebView pixels to scroll by.
Implementation
@override
Future<void> scrollBy(int x, int y) {
return _webView.scrollView.scrollBy(Point<double>(
x.toDouble(),
y.toDouble(),
));
}