Skip to content

Instantly share code, notes, and snippets.

@DmitrySikorsky
Created December 23, 2022 20:52
Show Gist options
  • Save DmitrySikorsky/9c8bb1df97cc5878af7c5c5efc59f723 to your computer and use it in GitHub Desktop.
Save DmitrySikorsky/9c8bb1df97cc5878af7c5c5efc59f723 to your computer and use it in GitHub Desktop.
Future main() async {
...
String? token;
if (kIsWeb) {
token = Uri.base.queryParameters['token'];
}
runApp(MyApp(token: token));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment