EndlessFirestoreStreamBuilder<T> constructor

const EndlessFirestoreStreamBuilder<T>({
  1. required Query<T> query,
  2. required Widget builder({
    1. required EndlessStreamController<QueryDocumentSnapshot<T>> controller,
    2. required void loadMore(),
    3. required bool loadOnSubscribe,
    4. required Stream<List<QueryDocumentSnapshot<T>>> stream,
    }),
  3. required EndlessFirestoreStreamBatchDelegate batchDelegate,
  4. EndlessFirestoreStreamController? controller,
  5. Future<void> onLoad(
    1. List<QueryDocumentSnapshot<T>> docs
    )?,
  6. dynamic key,
})

Implementation

const EndlessFirestoreStreamBuilder({
  required this.query,
  required this.builder,
  required this.batchDelegate,
  this.controller,
  this.onLoad,
  key,
}) : super(key: key);