onLaunch function

Future<bool> onLaunch(
  1. String urlString, {
  2. BaseLaunchMode mode = BaseLaunchMode.platformDefault,
  3. WebViewConfiguration webViewConfiguration = const urlLauncher.WebViewConfiguration(),
  4. String? webOnlyWindowName,
})

Implementation

Future<bool> onLaunch(
  String urlString, {
  BaseLaunchMode mode = BaseLaunchMode.platformDefault,
  urlLauncher.WebViewConfiguration webViewConfiguration =
      const urlLauncher.WebViewConfiguration(),
  String? webOnlyWindowName,
}) =>
    urlLauncher.launchUrl(Uri.parse(urlString),
        mode: mode,
        webViewConfiguration: webViewConfiguration,
        webOnlyWindowName: webOnlyWindowName);