popToRoot static method
返回到根页面
Implementation
static popToRoot(
BuildContext context, {
ChatUIKitRouteBackModel? model,
}) {
_lastBackModel = model;
Navigator.of(context).popUntil((route) => route.isFirst);
}
返回到根页面
static popToRoot(
BuildContext context, {
ChatUIKitRouteBackModel? model,
}) {
_lastBackModel = model;
Navigator.of(context).popUntil((route) => route.isFirst);
}