flutter - 使用 GetX 状态管理颤振导航到上一个屏幕,其中包含来自 api 的更新数据
问题描述
当我在更新后从更新屏幕导航回来时,我可以获取更新的数据。
Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text("General Detail",style: TextStyle(fontFamily: 'Roboto',fontSize: 16.0,fontWeight: FontWeight.w600),), IconButton(onPressed: (){ 获取。 to(()=>UpdateDetailView())!.whenComplete(()=>profileController.fetchProfileDataDetails()); }, 图标: Icon(Icons.edit)) ], ),
解决方案
推荐阅读
- tensorflow - 平面一维数据上的一维卷积(即无时间序列)
- keycloak - 将用户添加到组时出现重复键异常
- javascript - 按下以 URL 形式打开时,如何将 URL 单元格文本转换为小链接?
- google-maps - 从谷歌地图链接获取坐标
- vue.js - 将数据从 Vuex getter 传递到组件 prop
- python - 如何知道滚动条在 selenium python 中结束
- javascript - 如何制作简单的商品结账
- python-3.x - (没有名为 sqlalchemy 的模块)但是为什么我已经安装了它
- azure-data-factory - 是否可以从映射数据流中更新管道参数值?
- mongodb - 数据库未根据 Challengeschema 的变化进行更新