EventStreamBuilder<T> constructor

EventStreamBuilder<T>({
  1. Key? key,
  2. EventStream<T>? stream,
  3. required AsyncWidgetBuilder<T> builder,
})

Widget that builds itself based on the latest value a EventStream.

Implementation

EventStreamBuilder({
  super.key,
  EventStream<T>? stream,
  required super.builder,
}) : initialError = stream?.error, super(initialData: stream?.valueOrNull, stream: stream?.innerStream);