flutter_observable_locator library

Classes

BindInherited<T>
BindMultipleInherited
Binds multiple inherited widgets to the surrounding ObservableLocatorScope. The values of these observables can be created and updated by relying on Flutter's InheritedWidget reactivity system.
BindValue<T>
ObservableLocatorScope
A scope that provides an ObservableLocator to its widget subtree.
UpdateBuilder<T>

Extensions

ObservableContextExtensions on BuildContext
Extensions on the context to easily observe a value from the nearest surrounding ObservableLocatorScope.

Typedefs

CreateBinders = Iterable<Binder> Function()
Init<T> = T Function()
Update<T> = T Function(BuildContext context)