Skip to content

dickermoshe/context_plus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

242 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors

Languages

  • Dart 82.5%
  • C++ 8.5%
  • CMake 7.1%
  • HTML 0.7%
  • Swift 0.6%
  • C 0.5%
  • Other 0.1%