EndlessFirestoreStreamData<T> constructor

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

Implementation

EndlessFirestoreStreamData({
  required this.query,
  required this.batchDelegate,
  required this.builder,
  required this.controller,
  required this.onLoad,
});