navigateRemoveUntil static method
dynamic
navigateRemoveUntil(
Implementation
static navigateRemoveUntil(BuildContext context, Widget page) {
Navigator.pushAndRemoveUntil(
context,
PageRouteBuilder(pageBuilder: (context, _, __) => page),
(Route<dynamic> r) => false,
);
}