ContextWatchCallbackRecordExt2<TListenable1 extends Listenable, T2> extension

More convenient API for watching multiple values at once.

on

Methods

unwatchEffect(BuildContext context, {required Object key}) → void

Available on (TListenable1, Future<T2>), provided by the ContextWatchCallbackRecordExt2 extension

Remove the effect with the given key from the list of effects to be called when any of referenced observables notifies of a change.
watchEffect(BuildContext context, void effect(TListenable1, AsyncSnapshot<T2>), {Object? key, bool immediate = false, bool once = false}) → void

Available on (TListenable1, Future<T2>), provided by the ContextWatchCallbackRecordExt2 extension

Watch all observables for changes.
watchOnly<R>(BuildContext context, R selector(TListenable1, AsyncSnapshot<T2>)) → R

Available on (TListenable1, Future<T2>), provided by the ContextWatchCallbackRecordExt2 extension

Watch all observables for changes.