popUntil method
Pops every route dialog and bottom sheet until current route name is routeName
Implementation
void popUntil(Object routeName, {bool forceGlobal = false}) {
if (forceGlobal || isInGlobalStack()) {
popGlobalUntil(routeName);
} else {
popInTabUntil(routeName);
}
}