DeferredStartListening<T, R> typedef

VoidCallback DeferredStartListening<T, R>(
  1. InheritedContext<R> context,
  2. void setState(
    1. R value
  3. T controller,
  4. R value

A callback used to handle the subscription of controller.

It is expected to start the listening process and return a callback that will later be used to stop that listening.

See also:


typedef DeferredStartListening<T, R> = VoidCallback Function(
  InheritedContext<R> context,
  void Function(R value) setState,
  T controller,
  R value,