Pops the page to the page with the specified path.
Enter the pathname of the page in name.
name
Future<void> popUntilNamed(String name) async { popUntil((route) { return route.settings.name == name; }); }