infinite_listview_package 1.0.4 copy "infinite_listview_package: ^1.0.4" to clipboard
infinite_listview_package: ^1.0.4 copied to clipboard

Flutter package that provides Infinite scroll listview widget.

Infinite ListView #

Flutter package that provides infinite scroll listiview widget.

Getting Started #

  1. Installation Guide
  2. Example

Usage Guide #

  1. Create a class extending InfiniteListView<T>, where T is type of item on list you are going to build.
  2. Implement method getItemWidget(T item), this method should return widget for single item on list.
  3. Implement method getListData(int pageNumber), this is async method and should return list of item according to pageNumber in parameter. This method should return Future.error(...) in case of error.
  4. Override method getLoadingWidget(), getPaginationLoadingWidget(), getErrorWidget(dynamic error), getPaginationErrorWidget(dynamic error) to customize widgets while request in progress and error.
2
likes
150
pub points
24%
popularity

Publisher

verified publishersharmadhiraj.com

Flutter package that provides Infinite scroll listview widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on infinite_listview_package