custom_refresh_indicator 3.1.2 custom_refresh_indicator: ^3.1.2 copied to clipboard
Widget that makes it easy to implement a custom pull to refresh gesture.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_refresh_indicator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
custom_refresh_indicator: ^3.1.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:custom_refresh_indicator/custom_refresh_indicator.dart';