prerenderUrl method
- required WebUri url,
Speculatively prerenders url in this WebView.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebViewCompat.prerenderUrlAsync):
- Requires WebViewFeature.PRERENDER_URL.
Parameters - Officially Supported Platforms/Implementations:
url: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> prerenderUrl({required WebUri url}) =>
platform.prerenderUrl(url: url);