custom_loadmore library

Typedefs

FutureCallback<T> = Future<List<T>?> Function(int pageIndex, int pageSize)
The callback function of CustomLoadMore widget. It will be called when CustomLoadMore widget is initialized or load more. The return value of this function is a Future object. If the Future object complete with true value mean the that callback is successes. null value or false value mean the callback is failed.
LoadmoreWidgetBuilder<T> = Widget Function(BuildContext context, CustomLoadMoreState state, List<T>? items, CustomLoadMoreController controller)
The builder function for content that visible to user.