flutter 中登录页面成功后的跳转
2019-07-09 本文已影响0人
Ezreallp
onPressed: (){
Navigator.of(context).pushAndRemoveUntil(new MaterialPageRoute(builder: (context) => new MyProduct()), (route) => route == null);
},
//MyProduct改为要跳转的页面就可以了
onPressed: (){
Navigator.of(context).pushAndRemoveUntil(new MaterialPageRoute(builder: (context) => new MyProduct()), (route) => route == null);
},
//MyProduct改为要跳转的页面就可以了