popInTabUntil method
Pops every tab route dialog and bottom sheet until current route name is routeName
in given tab
Implementation
void popInTabUntil(Object routeName) {
while (canPop(global: false) && latestTabRoute().name != routeName) {
pop();
}
}