lazy_loading_list 1.0.1 copy "lazy_loading_list: ^1.0.1" to clipboard
lazy_loading_list: ^1.0.1 copied to clipboard

Lazy loading Widget to load more items by the index of the item to increment you a list like infinite scroll.

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

In your library add the following import:

import 'package:lazy_loading_list/lazy_loading_list.dart';

Usage #

ListView.builder(
    itemCount: items.length,
    itemBuilder: (BuildContext context, int index) {
        return LazyLoadingList(
            initialSizeOfItems: 10,
            index: index,
            child: buildItem(),
            loadMore: loadMoreItems,
            hasMore: hasMoreToLoad,
        );
    },
),
39
likes
140
pub points
82%
popularity

Publisher

unverified uploader

Lazy loading Widget to load more items by the index of the item to increment you a list like infinite scroll.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on lazy_loading_list