
A set of packages that provide a convenient way to propagate a value from a parent widget to its descendants and observe changes to any observable value.
| Package |
Pub |
Description |
| context_watch |
 |
Listenable.watch(context)
Listenable.watchOnly(context, () => ...)
Future.watch(context)
Future.watchOnly(context, () => ...)
Stream.watch(context)
Stream.watchOnly(context, () => ...) |
| context_ref |
 |
Ref.of(context)
Ref.bind(context, () => ...)
Ref.bindLazy(context, () => ...)
Ref.bindValue(context, ...) |
| context_plus |
 |
Ref<Listenable>.watch(context)
Ref<Listenable>.watchOnly(context, () => ...)
Ref<Future>.watch(context)
Ref<Future>.watchOnly(context, () => ...)
Ref<Stream>.watch(context)
Ref<Stream>.watchOnly(context, () => ...) |
| Package |
Pub |
Description |
| context_watch_bloc |
 |
Bloc.watch(context)
Bloc.watchOnly(context, () => ...)
Cubit.watch(context)
Cubit.watchOnly(context, () => ...) |
| context_watch_mobx |
 |
Observable.watch(context)
Observable.watchOnly(context, () => ...) |
| context_watch_getx |
 |
Rx.watch(context)
Rx.watchOnly(context, () => ...) |
| context_watch_signals |
 |
Signal.watch(context)
Signal.watchOnly(context, () => ...) |