Last updated:
0 purchases
flutter loadmore
flutter-loadmore #
A widget that supports idiom of "Pull Down to Refresh & Pull Up to Load More" for ListView .
Material never have this.
Getting Started #
add to pubspec.yaml
flutter_loadmore: ^2.0.1
copied to clipboard
import 'package:flutter_loadmore/flutter_loadmore.dart';
// ...
Widget build(BuildContext context) {
return LoadMore(
onLoadMore: _handleLoadMore,
child: ListView.builder(
itemCount: widget.provider.data.length,
itemBuilder: (BuildContext context, int index) {
final item = widget.provider.data[index];
return ListTile(title: Text(item.name));
},
),
);
}
copied to clipboard
Full example (fetch stock via HTTPS) in example folder.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.