DataStreamBuilder<T> constructor
DataStreamBuilder<T> ({
- Key? key,
- required DataStream<
T> stream, - required DataWidgetBuilder<
T> builder,
Widget that builds itself based on the latest value a DataStream.
Implementation
DataStreamBuilder({
super.key,
required DataStream<T> stream,
required this.builder,
}) : initialData = stream.value, super(stream: stream.innerStream);