AdvStreamBuilder<T> constructor
const
AdvStreamBuilder<T> ({
- Key? key,
- Stream<
T> ? stream, - T? initialData,
- required Widget onDone(
- BuildContext context,
- T? data
- Widget onActive(
- BuildContext context,
- T? data
- Widget onWait(
- BuildContext context
- Widget onError(
- BuildContext context,
- Object? error
Implementation
const AdvStreamBuilder({
Key? key,
this.stream,
this.initialData,
required this.onDone,
this.onActive,
this.onWait,
this.onError,
}) : super(key: key);