EndlessPaginationStreamBuilder<T> constructor

const EndlessPaginationStreamBuilder<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 EndlessPaginationDelegate paginationDelegate,
  4. EndlessPaginationController<T>? controller,
  5. bool? initialLoad = true,
  6. dynamic key,
})

Implementation

const EndlessPaginationStreamBuilder({
  required this.loadMore,
  required this.builder,
  required this.paginationDelegate,
  this.controller,
  this.initialLoad = true,
  key,
}) : super(key: key);