// 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); Passing Data between Routes.
|
Tags:
Route