prefetchUrl method
Officially Supported Platforms/Implementations:
- Android WebView 110+ (Official API - Profile.prefetchUrlAsync):
- Requires WebViewFeature.PROFILE_URL_PREFETCH.
Parameters - Officially Supported Platforms/Implementations:
containerId: all platformsurl: all platforms
Use the PlatformContainerController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> prefetchUrl({
required String containerId,
required String url,
}) => platform.prefetchUrl(containerId: containerId, url: url);