launchUrl static method

Future<bool> launchUrl(
  1. String url, {
  2. bool isInExternalMode = true,
})

Implementation

static Future<bool> launchUrl(
  String url, {
  bool isInExternalMode = true,
}) async => await ul.launchUrl(
  Uri.parse(url),
  mode: isInExternalMode
      ? LaunchMode.externalApplication
      : LaunchMode.platformDefault,
);