pageUp method
Scrolls the contents of this WebView up by half the view size.
Returns true
if the page was scrolled.
top
true
to jump to the top of the page.
Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.pageUp)
Implementation
Future<bool> pageUp({required bool top}) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent("top", () => top);
return await _channel.invokeMethod('pageUp', args);
}