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,