pushAndRemoveUntil static method
dynamic
pushAndRemoveUntil(})
跳转指定页面并清除剩余所有页面
Implementation
static pushAndRemoveUntil(
String routeName,
PageType pageType, {
Map? params,
bool maintainState = true,
bool fullscreenDialog = false,
bool animated = true,
bool homePage = false,
}) {
return DNavigatorManager.pushAndRemoveUntil(routeName, pageType,
params: params,
maintainState: maintainState,
homePage: homePage,
animated: animated,
fullscreenDialog: fullscreenDialog);
}