EndlessStreamBuilder<T> constructor

const EndlessStreamBuilder<T>({
  1. required void loadMore(),
  2. required Widget builder({
    1. required List<T> items,
    2. required void loadMore(),
    3. required Set<EndlessState> states,
    }),
  3. required Stream<List<T>> stream,
  4. dynamic onStateChange(
    1. Set<EndlessState> states
    )?,
  5. EndlessStreamController<T>? controller,
  6. bool loadOnSubscribe = true,
  7. dynamic key,
})

Implementation

const EndlessStreamBuilder({
  required this.loadMore,
  required this.builder,
  required this.stream,
  this.onStateChange,
  this.controller,
  this.loadOnSubscribe = true,
  key,
}) : super(key: key);