refresh_paging_listview 1.3.0
refresh_paging_listview: ^1.3.0 copied to clipboard
包含支持下拉刷新,上拉加载更多组件。另外封装了简单的分页加载页面,ListView支持设置headers、footers和空页面
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add refresh_paging_listview
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
refresh_paging_listview: ^1.3.0
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:refresh_paging_listview/refresh_paging_listview.dart';