widgets library
Classes
-
ReactterBuilder<
T extends ReactterContext?> -
A StatelessWidget that gets the ReactterContext's instance of
T
from the closest ancestor of ReactterProvider and exposes it through the first parameter of builder callback. -
ReactterComponent<
T extends ReactterContext> -
A abstract StatelessWidget class that provides
the functionality of ReactterProvider with a ReactterContext of
T
, and exposes it through render method. -
ReactterDependency<
T> - A class that holds a reference to a state or an instance, and it can add and remove listeners to the state or instance
- ReactterNestedElement
- ReactterNestedWidget's Element
-
ReactterNestedWidget<
W extends StatelessWidget> - Organizes the widget as nested way
-
ReactterProvider<
T extends ReactterContext> -
A StatelessWidget that provides a ReactterContext's instance of
T
to widget tree that can be access through the BuildContext. -
ReactterProviderAbstraction<
T extends ReactterContext> - An abstract class that extends InheritedWidget and implements ReactterWrapperWidget.
-
ReactterProviderElement<
T extends ReactterContext?> -
ReactterProviderElement
is a class that manages the lifecycle of theReactterInstance
and provides theReactterInstance
to its descendants - ReactterProviders
- A StatelessWidget that allows to use multiple ReactterProvider as nested way.
- ReactterProvidersElement
- ReactterScope
- A StatelessWidget that helps to control re-builder of widget tree.
- ReactterWatcher
- A StatefulWidget that listens for Signals and re-build when any Signal is changed.
- ReactterWrapperWidget
- Abstract class to implementing a wrapper widget
Mixins
- ReactterScopeElementMixin
- A mixin that helps to manages dependencies and notify when should be updated its dependencies.
-
ReactterWrapperElementMixin<
T extends Widget> - Mixin to ReactterWrapperWidget's Element
Extensions
- ReactterBuildContextExtension on BuildContext
- Exposes methods to helps to get and listen ReactterContext's instance.
Exceptions / Errors
- ReactterContextNotFoundException
- The error that will be thrown if ReactterProvider.contextOf fails to find a ReactterContext as an ancestor of the BuildContext used.