Future<Null> launch(String urlString)

Parse the specified URL string and delegate handling of the same to the underlying platform.

Arguments:

  • urlString: The URL string to be parsed by the underlying platform and before it attempts to launch the same.

Source

static Future<Null> launch(String urlString) async {
  await PlatformMessages.invokeMethod(
    'flutter/platform',
    'UrlLauncher.launch',
    <String>[ urlString ],
  );
}