EventStreamBuilder<T> constructor
EventStreamBuilder<T> ({
- Key? key,
- EventStream<
T> ? stream, - 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);