EventStreamBuilder<T>.fromStream constructor
const
EventStreamBuilder<T>.fromStream ({
- Key? key,
- Stream<
T> ? stream, - T? initialData,
- Object? initialError,
- required AsyncWidgetBuilder<
T> builder,
Same as default EventStreamBuilder constructor, but with a Stream instead of a EventStream.
Implementation
const EventStreamBuilder.fromStream({
super.key,
super.stream,
super.initialData,
this.initialError,
required super.builder,
});