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.

Libraries

infinite_listview_package