launch method
Passes url
to the underlying platform for handling.
Returns true
if the given url
was successfully launched.
For documentation on the other arguments, see the launch
documentation
in package:url_launcher/url_launcher.dart
.
Implementation
@override
Future<bool> launch(
String url, {
required bool useSafariVC,
required bool useWebView,
required bool enableJavaScript,
required bool enableDomStorage,
required bool universalLinksOnly,
required Map<String, String> headers,
String? webOnlyWindowName,
}) {
// None of the options are supported, so they don't need to be converted to
// LaunchOptions.
return launchUrl(url, const LaunchOptions());
}