返回上一页并传参
来源:1-2 课程导学

weixin_慕妹9555027
2021-12-20
在页面A点击按钮跳转到页面B,页面B添加数据,返回上一页(页面A)并传参。
页面B用Navigator.pop(context,data);
在页面A是如何接收参数呢?页面B的Navigator.pop的用法对不对?
写回答
1回答
-
CrazyCodeBoy
2021-12-21
可以用provider来跨页面传递数据
022021-12-22
相似问题