popGlobalUntil method
Pops every global route dialog and bottom sheet until current route name is routeName
Implementation
void popGlobalUntil(Object routeName) {
while (canPop() && latestGlobalRoute().name != routeName) {
pop();
}
}
Pops every global route dialog and bottom sheet until current route name is routeName
void popGlobalUntil(Object routeName) {
while (canPop() && latestGlobalRoute().name != routeName) {
pop();
}
}