📅  最后修改于: 2022-03-11 14:45:02.363000             🧑  作者: Mango
Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(builder: (context) => MainPage()),
(Route route) => false,
);