popUntilFirst static method
Pops to the root route.
Implementation
static void popUntilFirst(BuildContext context) {
Navigator.of(context).popUntil((Route<dynamic> route) => route.isFirst);
}
Pops to the root route.
static void popUntilFirst(BuildContext context) {
Navigator.of(context).popUntil((Route<dynamic> route) => route.isFirst);
}