popToRoot function
void
popToRoot()
回到根页面
Implementation
void popToRoot() {
Navigator.of(xbGlobalContext).popUntil((route) => route.isFirst);
}
回到根页面
void popToRoot() {
Navigator.of(xbGlobalContext).popUntil((route) => route.isFirst);
}