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