Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于IndicatorMode 事件回调疑问 #674

Closed
309791679 opened this issue Feb 4, 2023 · 3 comments
Closed

关于IndicatorMode 事件回调疑问 #674

309791679 opened this issue Feb 4, 2023 · 3 comments

Comments

@309791679
Copy link

在实际使用中我发现事件执行状态分别是” IndicatorMode.drag、 IndicatorMode.armed、 IndicatorMode.inactive“

但ui模型中显示了4个状态”IndicatorMode.ready“这个并没有在回调中

就出现我只能可以通过”pullIconBuilder“设置{drag、armed、processed}三个状态的图标, 却没法设置 readyText 文字显示时的图标

dragText:"快了继续拉",armedText: "松手查看全部",readyText:"1正在更新中...",processedText:"更新完成",

@309791679
Copy link
Author

309791679 commented Feb 4, 2023

@xuelongqy ,我用的版本是最新的 easy_refresh: ^3.3.0+1

调用代码

 pullIconBuilder:(BuildContext context, IndicatorState state, double animation){print(state.mode);},

整个事件
image

@xuelongqy
Copy link
Owner

v3分支最新的代码,你看是对你有帮助

@xuelongqy
Copy link
Owner

状态已添加。如果还有问题,请重新开启此issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants