Skip to content
pubscout

swipe_refresh

1.1.2, released 3 years ago by surf.ru

Widgets providing pull-down refresh capability with Material and Cupertino styles.

WASM-ready
$ flutter pub add swipe_refresh
Source repository

What it does

Provides a set of widgets that enable pull-down refreshing in Flutter applications. It supports Material, Cupertino, and adaptive platform styles, as well as builder methods for list views.

AI-written summary of version 1.1.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need pull-to-refresh functionality supporting multiple design systems.
  • You want a platform-adaptive refresh indicator.

Skip it when

  • You are already using standard platform refresh widgets like RefreshIndicator and don't need extra stream control.

Strengths

  • Fully written in Flutter and works on all platforms
  • Supports Material, Cupertino, and adaptive styles
  • Fully covered by tests and documented

Weaknesses

  • Requires manual state management via streams to hide the refresh indicator

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SwipeRefresh.material(
  stateStream: Stream<SwipeRefreshState>(),
  onRefresh: _refresh,
  padding: const EdgeInsets.symmetric(vertical: 10),
  children: <Widget>[ ... ],
);

Alternatives

Packages that do the same job and could replace swipe_refresh.