Skip to content

Instantly share code, notes, and snippets.

@littleironical
Last active October 31, 2022 03:28
Show Gist options
  • Save littleironical/bc71a5c865315d7dc91ced7bbf1f3fcf to your computer and use it in GitHub Desktop.
Save littleironical/bc71a5c865315d7dc91ced7bbf1f3fcf to your computer and use it in GitHub Desktop.
import 'dart:js' as js;
//OR
import 'dart:html' as html;
onPressed: () {
js.context.callMethod('open', ['https://play.google.com/store']);
//OR
html.window.open('https://play.google.com/store', 'new tab');
},
@fabioselau077
Copy link

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment