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