我看了下,Navigator.pop(context);走完后,pop方法又走执行了一次??,然后就走到SystemNavigator.pop();
///返回上一页
static pop(BuildContext context) {
if (Navigator.canPop(context)) {
Navigator.pop(context);
} else {
//退出APP
SystemNavigator.pop();
}
}