Created
February 5, 2020 07:10
-
-
Save kitoko552/8b5b7863a960539c6c6c37a8c1ac00c1 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
final navigatorKey = GlobalKey(); | |
// ... | |
// Widget構成時 | |
Navigator( | |
key: navigatorKey, | |
onGeneratedRoute: (settings) => route, | |
); | |
// ... | |
// 遷移時 | |
navigatorKey.currentState.push(route); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment