pageUp method

  1. @override
Future<bool> pageUp({
  1. required bool top,
})

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.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<bool> pageUp({required bool top}) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("top", () => top);
  return await channel?.invokeMethod<bool>('pageUp', args) ?? false;
}