ValueStreamListener<TValue> constructor
const
ValueStreamListener<TValue> ({
- Key? key,
- Stream<
TValue> ? stream, - void onDone(
- BuildContext context
- void onError(
- BuildContext context,
- Object error,
- StackTrace stackTrace
- ValueCondition<
TValue> ? listenWhen, - required ValueListener<
TValue> listener, - Widget? child,
Implementation
const ValueStreamListener({
Key? key,
this.stream,
this.onDone,
this.onError,
this.listenWhen,
required this.listener,
Widget? child,
}) : super(key: key, child: child);