EndlessPaginationData<T> constructor

EndlessPaginationData<T>({
  1. required Future<List<T>> loadMore(
    1. int pageIndex
    ),
  2. required Widget builder({
    1. required EndlessStreamController<T> controller,
    2. required void loadMore(),
    3. required bool loadOnSubscribe,
    4. required Stream<List<T>> stream,
    }),
  3. required EndlessPaginationController<T>? controller,
  4. required EndlessPaginationDelegate paginationDelegate,
  5. required bool? initialLoad,
})

Implementation

EndlessPaginationData({
  required this.loadMore,
  required this.builder,
  required this.controller,
  required this.paginationDelegate,
  required this.initialLoad,
});