launchURL function

Future<void> launchURL(
  1. String url, {
  2. LaunchMode mode = LaunchMode.externalApplication,
})

Implementation

Future<void> launchURL(final String url, {LaunchMode mode = LaunchMode.externalApplication}) async => launchUrl(
      Uri.parse(url),
      mode: mode,
    );