swipe_refresh
1.1.2, released 3 years ago by surf.ru
Widgets providing pull-down refresh capability with Material and Cupertino styles.
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.
- easy_refresh
A Flutter widget providing pull-down refresh and pull-up load for all scrollable widgets.
80Compare - custom_refresh_indicator
Widget that makes it easy to implement a custom pull to refresh gesture.
81Compare - release_to_trigger
A customizable pull-to-reveal and swipe-to-trigger widget for Flutter.
52Compare - pull_to_refresh
a widget provided to the flutter scroll component drop-down refresh and pull up load.
50Compare