navigateAndRemoveUntil method
dynamic
navigateAndRemoveUntil({
Implementation
navigateAndRemoveUntil({required Widget screen, bool fade = false}) =>
Navigator.of(this).pushAndRemoveUntil(
fade
? _fadeTransition(screen)
: MaterialPageRoute(builder: (_) => screen),
(Route<dynamic> route) => false);