onLoadResourceCustomScheme method

Future<CustomSchemeResponse?>? onLoadResourceCustomScheme(
  1. Uri url
)
inherited

Event fired when the InAppBrowser 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.

scheme represents the scheme of the url.

url represents the url of the request.

Official iOS API: https://developer.apple.com/documentation/webkit/wkurlschemehandler

Implementation

Future<CustomSchemeResponse?>? onLoadResourceCustomScheme(Uri url) {
  return null;
}