📅  最后修改于: 2022-03-11 15:00:44.637000             🧑  作者: Mango
Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(
builder: (BuildContext context) => YourPageNameGoesHere(),
),
(route) => false,//if you want to disable back feature set to false
);