ReactiveStreamBuilder<T> constructor

const ReactiveStreamBuilder<T>({
  1. Key? key,
  2. required ReactiveNotifier<Stream<T>> notifier,
  3. required Widget onData(
    1. T data
    ),
  4. Widget onLoading()?,
  5. Widget onError(
    1. Object error
    )?,
  6. Widget onEmpty()?,
  7. Widget onDone()?,
})

Implementation

const ReactiveStreamBuilder({
  super.key,
  required this.notifier,
  required this.onData,
  this.onLoading,
  this.onError,
  this.onEmpty,
  this.onDone,
});