ObservableListener<T> constructor

const ObservableListener<T>({
  1. Key? key,
  2. required Stream<T> observable,
  3. required void listener(
    1. T value,
    2. BuildContext context
    ),
  4. required Widget? child,
})

Implementation

const ObservableListener({
  super.key,
  required this.observable,
  required this.listener,
  required this.child,
});