popUntil method
- BuildContext context,
- bool predicate()
override
Pops routes until the given predicate returns true.
Useful for returning to a specific route.
Implementation
@override
void popUntil(BuildContext context, bool Function(Route<dynamic>) predicate) {
Navigator.popUntil(context, predicate);
}