popUntil method
Calls pop
repeatedly until the predicate returns true.
Implementation
void popUntil(String route) {
navigationKey.currentState!.popUntil(ModalRoute.withName(route));
}
Calls pop
repeatedly until the predicate returns true.
void popUntil(String route) {
navigationKey.currentState!.popUntil(ModalRoute.withName(route));
}