onLoadResourceWithCustomScheme method

  1. @override
Future<CustomSchemeResponse?>? onLoadResourceWithCustomScheme(
  1. WebResourceRequest request
)
override

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

Officially Supported Platforms/Implementations:

Implementation

@override
Future<CustomSchemeResponse?>? onLoadResourceWithCustomScheme(
    WebResourceRequest request) {
  return null;
}