providerscope library

Classes

ListeningBuilder
Widget that rebuilds part of the widget tree whenever the listenable changes. [...]
Model
Base class for classes that provide data via InheritedWidgets.
ModelFinder<T extends Model>
Finds a Model. This class is necessary as templated classes are relified but static templated functions are not.
Provide<T>
A widget that obtains the given value from the nearest provider and rebuilds using the builder whenever it changes. [...]
ProvidedValues
A container for the values passed to the MultiValueBuilder.
ProvideMulti
Widget that rebuilds on change using multiple values provided by a ProviderNode. [...]
Provider<T>
A Provider provides a value on request. [...]
ProviderNode
ProviderNode makes a set of providers available to any widgets below it in the widget tree. [...]
Providers
Providers are the values passed to the ProviderNodes. [...]
ProviderScope
A ProviderScope provides a separate type-space for a provider, thus allowing more than one provider of the same type. [...]
ScopedModel<T extends Model>
Allows the given model to be accessed by child or any of its descendants using ModelFinder.
ScopedModelDescendant<T extends Model>
A Widget who rebuilds its child by calling builder whenever the Model provided by an ancestor ScopedModel changes.
TypedProvider<T>
Base mixin for providers.

Mixins

TickerProviderModelMixin
Mixin to enable a model to provide tickers for animations.

Typedefs

MultiValueBuilder(BuildContext context, Widget child, ProvidedValues values) Widget
Builds a child for a ProvideMulti widget.
ProviderFunction<T>() → T
Function that returns an instance of T when called.
ScopedModelDescendantBuilder<T extends Model>(BuildContext context, Widget child, T model) Widget
Builds a child for a ScopedModelDescendant.
ValueBuilder<T>(BuildContext context, Widget child, T value) Widget
Builds a child for a Provide widget.