Created
June 16, 2020 16:12
-
-
Save jaceshim/137faf558ebd100667ef1cc8c5987586 to your computer and use it in GitHub Desktop.
clear all route and go page in flutter
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
Navigator.of(context).pushAndRemoveUntil( | |
MaterialPageRoute(builder: (BuildContext context) => PageWidget()), | |
(Route<dynamic> route) => false, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment