pageDown method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebView.pageDown', apiUrl: 'https://developer.android.com/reference/android/webkit/WebView#pageDown(boolean)')])
- 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:
- Android WebView (Official API - WebView.pageDown)
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',
);
}