如何使用Image.network刷新在PinchZoomImage小部件中构建的http图片?
最好是使用RefreshIndicator()对我来说,但是我应该在onRefresh中调用什么呢?
它等待Future
我的代码是:
PinchZoomImage(
image: Image.network('https://api.myapi.com/myImage.jpg'),
hideStatusBarWhileZooming: true,
),
有什么建议吗?