Skip to content

Convenient BuildContext-based value propagation and observing. Seamlessly integrates with Flutter's built-in observability primitives.

Notifications You must be signed in to change notification settings

s0nerik/context_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

context_plus

context_plus.png

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.

Packages

Package Pub Description
context_watch context_watch Listenable.watch(context)
Listenable.watchOnly(context, () => ...)

Future.watch(context)
Future.watchOnly(context, () => ...)

Stream.watch(context)
Stream.watchOnly(context, () => ...)
context_ref context_ref Ref.of(context)

Ref.bind(context, () => ...)
Ref.bindLazy(context, () => ...)
Ref.bindValue(context, ...)
context_plus 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, () => ...)

Integrations

Package Pub Description
context_watch_bloc context_watch_bloc Bloc.watch(context)
Bloc.watchOnly(context, () => ...)

Cubit.watch(context)
Cubit.watchOnly(context, () => ...)
context_watch_mobx context_watch_mobx Observable.watch(context)
Observable.watchOnly(context, () => ...)
context_watch_getx context_watch_getx Rx.watch(context)
Rx.watchOnly(context, () => ...)
context_watch_signals context_watch_signals Signal.watch(context)
Signal.watchOnly(context, () => ...)

About

Convenient BuildContext-based value propagation and observing. Seamlessly integrates with Flutter's built-in observability primitives.

Resources

Stars

Watchers

Forks

Packages

No packages published