backUntil static method
Goes back until the route named routeName.
Implementation
static void backUntil(String routeName) => Navigator.of(context).popUntil((Route<dynamic> route) => route.settings.name == routeName);
Goes back until the route named routeName.
static void backUntil(String routeName) => Navigator.of(context).popUntil((Route<dynamic> route) => route.settings.name == routeName);