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,