CustomStreamBuilder<T> constructor

const CustomStreamBuilder<T>({
  1. Key? key,
  2. T? initialData,
  3. required Stream<T> stream,
  4. required CustomStreamBuilderDone<T> onDone,
  5. CustomBuilderContext? onNone,
  6. CustomBuilderContext? onWaiting,
  7. CustomStreamBuilderError? onError,
  8. bool didUpdateWidgetCallStream = false,
  9. bool initialCallStream = false,
  10. ValueCallback<BuildContext>? initState,
  11. ValueCallback<BuildContext>? didChangeDependencies,
  12. ValueCallback<BuildContext>? didUpdateWidget,
  13. ValueCallback<BuildContext>? deactivate,
  14. ValueCallback<BuildContext>? dispose,
})

Implementation

const CustomStreamBuilder({
  super.key,
  this.initialData,
  required this.stream,
  required this.onDone,
  this.onNone,
  this.onWaiting,
  this.onError,
  this.didUpdateWidgetCallStream = false,
  this.initialCallStream = false,
  this.initState,
  this.didChangeDependencies,
  this.didUpdateWidget,
  this.deactivate,
  this.dispose,
});