handlesURLScheme static method

Future<bool> handlesURLScheme(
  1. String urlScheme
)

Returns a Boolean value that indicates whether WebKit natively supports resources with the specified URL scheme.

urlScheme represents the URL scheme associated with the resource.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • urlScheme: all platforms

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

static Future<bool> handlesURLScheme(String urlScheme) =>
    PlatformInAppWebViewController.static().handlesURLScheme(urlScheme);