📜  颤动从堆栈中卸载屏幕 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:45.850000             🧑  作者: Mango

代码示例1
Navigator.pushAndRemoveUntil(
  context,
  MaterialPageRoute(builder: (context) => MainPage()),
  (Route route) => false,
);