onLoadResourceCustomScheme property
(Future<CustomSchemeResponse?> Function(InAppWebViewController controller, Uri url)?)
onLoadResourceCustomScheme
getter/setter pairoverride-getter
Event fired when the WebView finds the custom-scheme
while loading a resource. Here you can handle the url request and return a CustomSchemeResponse to load a specific resource encoded to base64
.
url
represents the url of the request.
Official iOS API: https://developer.apple.com/documentation/webkit/wkurlschemehandler
Implementation
@override
Future<CustomSchemeResponse?> Function(
InAppWebViewController controller, Uri url)? onLoadResourceCustomScheme;