pageDown method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebView.pageDown', apiUrl: 'https://developer.android.com/reference/android/webkit/WebView#pageDown(boolean)')])
Future<bool> pageDown({
  1. required bool bottom,
})

Scrolls the contents of this WebView down by half the page size. Returns true if the page was scrolled.

bottom true to jump to bottom of page.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • bottom: all platforms

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebView.pageDown',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebView#pageDown(boolean)',
    ),
  ],
)
Future<bool> pageDown({required bool bottom}) {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.pageDown.name} is not implemented on the current platform',
  );
}