CustomStreamBuilder<T> constructor
const
CustomStreamBuilder<T> ({
- Key? key,
- T? initialData,
- required Stream<
T> stream, - required CustomStreamBuilderDone<
T> onDone, - CustomBuilderContext? onNone,
- CustomBuilderContext? onWaiting,
- CustomStreamBuilderError? onError,
- bool didUpdateWidgetCallStream = false,
- bool initialCallStream = false,
- ValueCallback<
BuildContext> ? initState, - ValueCallback<
BuildContext> ? didChangeDependencies, - ValueCallback<
BuildContext> ? didUpdateWidget, - ValueCallback<
BuildContext> ? deactivate, - 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,
});