FLUTTER ECOSYSTEM

dv-mahbub/stylish_pull_to_refresh

一個帶有多種 RefreshIndicator 動畫樣式的全新 Flutter 包專案。

時尚下拉刷新 專案封面
Stars
2
Forks
0
最近推送(UTC)
2024年11月4日
專案狀態
未封存
Mahbub Al Hasan GitHub avatar
GITHUB User

Mahbub Al Hasan ↗

Uttara, Dhaka, Bangladesh
語言DartC++CMakeSwiftHTMLCKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^4.0.0

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

stylish_pull_to_refresh

This is a flutter package with multiple animated style of RefreshIndicator. Use this to achive "pull to refresh" function in your project.

Code Example

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
    )

Demo

demo1

demo2

demo3

Avaiable styles

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,