xuelongqy / flutter_easy_refresh

A flutter widget that provides pull-down refresh and pull-up load.
https://xuelongqy.github.io/flutter_easy_refresh/
MIT License
3.85k stars 630 forks source link

如何由程序触发刷新 #715

Closed mostcute closed 1 year ago

mostcute commented 1 year ago

有时候有一些组件联动操作,某操作发生后触发一次刷新动画,如何由代码触发刷新动画

mostcute commented 1 year ago

仔细看了看例子

使用_controller.callRefresh();即可

打扰了

zhuwei commented 1 year ago

有问题,如果刚刚加载完,但动画在结束的过程中调用_controller.callRefresh();将没有任何作用