onLoadResourceCustomScheme property Null safety

(Future<CustomSchemeResponse?> Function?(InAppWebViewController controller, Uri url)?) onLoadResourceCustomScheme
final

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

final Future<CustomSchemeResponse?> Function(
    InAppWebViewController controller, Uri url)? onLoadResourceCustomScheme;