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.83k stars 628 forks source link

Easy Refresh 判断是否正在刷新中的办法 #834

Closed do-one-thing-to-well closed 1 month ago

do-one-thing-to-well commented 1 month ago

我使用了refreshController.headerState?.mode==IndicatorMode.done来判断是否正在刷新中,但是通过验证感觉方式不正确,我在Demo中没有找到相关的判断方式,请问正确的判断是否正在刷新中的方法是?

xuelongqy commented 1 month ago

每个状态的作用,在这里有详细的描述。https://pub.dev/documentation/easy_refresh/latest/easy_refresh/IndicatorMode.html