scope_manager library

Classes

BaseFeatureScope
A base implementation of FeatureScope.
DependencyScope
A base interface for all dependency scopes.
FeatureScope
An interface for the scope of dependencies that can be created or destroyed on demand.
ObservingInfo
A support widget that displays information about currently active FeatureScope instances and their subscribers.
RootBinding<S extends RootScope>
A support class that allows to specify the type which is associated with the RootScope instance.
RootScope
An interface for the scope of dependencies that is alive for the entire application lifetime.
ScopeBinding<S extends FeatureScope>
A supporting class that binds a FeatureScope type to its factory.
ScopeManager
A central management class for dependency scopes. It is responsible for registering, resolving, and managing the lifecycle of dependency scopes.
ScopeRegistry
An interface for registering available dependency scopes.
ScopeResolver
An interface for interacting with registered scopes.
Scopes
Provides access to the scope resolving functionality via the BuildContext.

Mixins

ScopeSubscriberMixin<S extends FeatureScope, W extends StatefulWidget>
A mixin for State classes that helps with subscribing to a FeatureScope.
TaggedScopeSubscriberMixin<S extends FeatureScope, W extends StatefulWidget>
A mixin for State classes that helps with subscribing to a tagged FeatureScope.

Typedefs

ScopeFactory<S extends FeatureScope> = S Function(ScopeResolver resolver)
A type definition for a factory function that creates instances of FeatureScope.