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