lazy_loading_list

Creator: coderz1093

Last updated:

Add to Cart

Description:

lazy loading list

lazy_loading_list #
Lazy loading Widget to load more by index item to incresent you list like infinite scroll.
Getting Started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
lazy_loading_list: version
copied to clipboard
In your library add the following import:
import 'package:lazy_loading_list/lazy_loading_list.dart';
copied to clipboard
Usage #
ListView.builder(
itemCount: items.length,
itemBuilder: (BuildContext context, int index) {
return LazyLoadingList(
initialSizeOfItems: 10,
index: index,
child: buildItem(),
loadMore: loadMoreItems,
hasMore: hasMoreToLoad,
);
},
),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.