v1.2.0stylish_pull_to_refresh
这是一个带有多种 RefreshIndicator 动画样式的 Flutter 包。
12喜欢 38近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个带有多种 RefreshIndicator 动画样式的全新 Flutter 包项目。
以下为英文项目原文快照,最新内容请访问 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
)
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,
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗