ValueStreamListener<TValue> constructor

const ValueStreamListener<TValue>({
  1. Key? key,
  2. Stream<TValue>? stream,
  3. void onDone(
    1. BuildContext context
    )?,
  4. void onError(
    1. BuildContext context,
    2. Object error,
    3. StackTrace stackTrace
    )?,
  5. ValueCondition<TValue>? listenWhen,
  6. required ValueListener<TValue> listener,
  7. 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);