binder library
Classes
-
BinderOverride<
T> - A redefinition of a StateRef or LogicRef.
- BinderScope
- A widget that stores a part of the app state.
-
Computed<
T> - A watchable derived state.
-
Consumer<
T> - A widget whose content stays synced with a Watchable.
- DelegatingStateObserver
- A specific StateObserver which delegates the actual implementation to a function.
- Disposable
- Interface for business logic components that need to do some action before the BinderScope storing their state is disposed.
- Loadable
- Interface for business logic components that can be used with LogicLoader.
- LogicLoader
- A widget which can be used to load resources when it's inserted in the tree.
-
LogicRef<
T> - A reference to a business logic component.
- MementoScope
- A scope where state changes are watched so that they can be undone/redone.
- Scope
- An object which holds a part of the application state.
-
StateListener<
T> - A widget which watches a StateRef and calls a function when the underlying state changes.
- StateObserver
- An object that observes state changes.
-
StateRef<
T> - A reference to a part of the app state.
-
ValueListener<
T> - A widget that watches a value and calls a function when it changed.
-
Watchable<
T> - A part of the app state that can be watched.
Mixins
- Logic
- Implements utilities methods for accessing the scope where this logic is stored.
Extensions
- BinderBuildContextExtensions on BuildContext
- Public extensions on BuildContext.
-
WatchableExtensions
on Watchable<
T> - Extensions for Watchable.
Typedefs
- LoadableWidgetBuilder = Widget Function(BuildContext context, bool loading, Widget? child)
-
Signature for a function that builds a widget given the
loading
state.