Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Main code of interest in package:url_launcher
const MethodChannel _channel = MethodChannel('');
Future<bool> launch(
String urlString, {
}) async {
assert(urlString != null);
final bool result = await _channel.invokeMethod<bool>(
<String, Object>{
'url': urlString,
return result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.