Last active
August 3, 2021 13:42
-
-
Save BrianMwas/e22911fb42acb0d175384c5a8f2506e8 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
// Going to a page | |
Get.toNamed(AppLinks.DASHBOARD); | |
// Move back one page only | |
Get.offNamed(AppLinks.LOGIN); | |
// Going back all route/pages until LOGIN page you can even pass a predicate/ condition to pop until that condition passes | |
Get.offAllNamed(AppLinks.LOGIN); | |
// Pop the current route and to the defined route. | |
Get.offAllAndToNamed(AppLinks.ORDERS); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment