ContextWatchCallbackRecordExt4<TListenable0 extends ValueListenable<T1> , T1, TListenable2 extends Listenable> extension
More convenient API for watching multiple values at once.
- on
-
- (TListenable0, TListenable2)
Methods
-
unwatchEffect(
BuildContext context, {required Object key}) → void -
Available on (TListenable0, TListenable2), provided by the ContextWatchCallbackRecordExt4 extension
Remove the effect with the givenkey
from the list of effects to be called when any of referenced observables notifies of a change. -
watchEffect(
BuildContext context, void effect(T1, TListenable2), {Object? key, bool immediate = false, bool once = false}) → void -
Available on (TListenable0, TListenable2), provided by the ContextWatchCallbackRecordExt4 extension
Watch all observables for changes. -
watchOnly<
R> (BuildContext context, R selector(T1, TListenable2)) → R -
Available on (TListenable0, TListenable2), provided by the ContextWatchCallbackRecordExt4 extension
Watch all observables for changes.