Created
December 23, 2022 20:52
-
-
Save DmitrySikorsky/8e261abe9f3fa31aafe941b31702aec8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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