scrollBy method

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

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 _channel.invokeMethod<void>('scrollBy', <String, int>{
    'x': x,
    'y': y,
  });
}