antd_refresh 1.0.0
antd_refresh: ^1.0.0 copied to clipboard
Ant Design (antd-mobile v5) PullToRefresh component for Flutter. Pull-down refresh with gesture state machine (idle/pulling/canRelease/refreshing/complete) and customizable header texts.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add antd_refreshWith Flutter:
$ flutter pub add antd_refreshThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
antd_refresh: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:antd_refresh/antd_refresh.dart';