摘要: 1.无名路由push,直接使用void nextPage() async{ final result = await Navigator.push(context, MaterialPageRoute(builder: (BuildContext context) { return NextPage("pass params to next page");//构造函数传递参数 })); //res 阅读全文
posted @ 2019-12-28 16:55 yongfengnice 阅读(3563) 评论(0) 推荐(0) 编辑