EndlessStreamBuilder<T> constructor
const
EndlessStreamBuilder<T> ({
- required void loadMore(),
- required Widget builder({
- required List<
T> items, - required void loadMore(),
- required Set<
EndlessState> states,
- required List<
- required Stream<
List< stream,T> > - dynamic onStateChange(
- Set<
EndlessState> states
- Set<
- EndlessStreamController<
T> ? controller, - bool loadOnSubscribe = true,
- 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);