StreamBuilder<T> constructor

const StreamBuilder<T>(
  1. AsyncWidgetBuilder<T> builder,
  2. {Stream<T>? stream,
  3. T? initialData,
  4. String? key,
  5. Ref? ref}
)

Creates a new instance of StreamBuilder.

Implementation

const StreamBuilder(
  this.builder, {
  this.stream,
  this.initialData,
  super.key,
  super.ref,
});