flutter 返回某页面并销毁俩个页面之间的页面
时间:2020-07-09 16:53:40
收藏:0
阅读:597
Navigator.of(context).push(
MaterialPageRoute(
settings: RouteSettings(name: "/Page1"),
builder: (context) => Page1(),
),
);
Navigator.of(context)
.popUntil(ModalRoute.withName("/Page1"));
原文:https://www.cnblogs.com/wupeng88/p/13274407.html
评论(0)