isAvailable static method

Future<bool> isAvailable()

On Android, returns true if Chrome Custom Tabs is available. On iOS, returns true if SFSafariViewController is available. Otherwise returns false.

Officially Supported Platforms/Implementations:

  • Android
  • iOS

Implementation

static Future<bool> isAvailable() =>
    PlatformChromeSafariBrowser.static().isAvailable();