infinite_listview_package 1.0.3

Flutter Android iOS web

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.
1
likes
100
pub points
23%
popularity

Publisher

sharmadhiraj.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