popUntil static method
Pop routes until routeName is at the top of the stack.
Implementation
static void popUntil(BuildContext context, String routeName) =>
Navigator.popUntil(context, ModalRoute.withName(routeName));
Pop routes until routeName is at the top of the stack.
static void popUntil(BuildContext context, String routeName) =>
Navigator.popUntil(context, ModalRoute.withName(routeName));