v1.2.0stylish_pull_to_refresh
这是一个带有多种 RefreshIndicator 动画样式的 Flutter 包。
12喜欢 30近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个带有多种 RefreshIndicator 动画样式的全新 Flutter 包项目。
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
This is a flutter package with multiple animated style of RefreshIndicator. Use this to achive "pull to refresh" function in your project.
Simple code example to use this project feature
StylishPullToRefresh(
style: Style.sandTimer, //multiple style available, pick your favourite one
onRefresh: () async {
//add code to execute on refresh
},
child: SingleChildScrollView(...) //pass child widget tree here
)
demo1
demo2
demo3
Here are avaiable style list you could apply
style: Style.audioWave,
style: Style.box,
style: Style.circularProgress,
style: Style.fileSearch,
style: Style.game,
style: Style.handGesture,
style: Style.loop,
style: Style.paperPlane,
style: Style.sandTimer,
style: Style.threeCircle,