Skip to content

Instantly share code, notes, and snippets.

@ptruiz
Created October 12, 2020 22:37
Show Gist options
  • Save ptruiz/9f8c959f299df8a94c3396a7aa70b18a to your computer and use it in GitHub Desktop.
Save ptruiz/9f8c959f299df8a94c3396a7aa70b18a to your computer and use it in GitHub Desktop.
@override
void initState() {
deepLinkSubscription = getLinksStream().listen((String link) {
String code = getCodeFromGitHubLink(link);
loginWithGitHub(code);
}, cancelOnError: true);
super.initState();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment