toFinishUntil static method
dynamic
toFinishUntil(
- BuildContext context,
- String routeName,
- String untilRouteName, {
- dynamic arguments,
Navigate screens and until screen remove
Implementation
static toFinishUntil(
BuildContext context, String routeName, String untilRouteName,
{dynamic arguments}) {
Navigator.pushNamedAndRemoveUntil(
context, routeName, ModalRoute.withName(untilRouteName),
arguments: arguments);
}