flutter_weaver library
Classes
- AutoScope
- A widget that automatically manages the lifecycle of a Scope.
-
Dependency<
T> - Represents a registered dependency within the Weaver container.
- DependencyKey
- A unique identifier for a dependency, combining its Type and an optional name.
-
EnterScope<
T> - HandlerAddedToWeaver
- HandlerEvent
- LeaveScope
- NamedDependency
- Annotation used to define a named dependency within a scope or session.
- OnEnterScope
- Annotation used to mark a method that should be called when entering a scope.
- OnLeaveScope
- Annotation used to mark a method that should be called when leaving a scope.
- RequireDependencies
- A widget that waits for a set of dependencies to be registered before building its child.
-
Scope<
T> - Defines a scope that holds dependencies tied to a specific lifecycle.
- ScopeHandlerWeaverProxy
- Used as a proxy on weaver for generated scope handler classes. provides extra hidden functionality that is only and only required by scope-handlers.
-
SingleScopeHandler<
T> - Manages the lifecycle of dependencies within a specific scope.
-
SwitchScopeHandler<
T> - Weaver
- The main dependency injection container for Weaver.
- WeaverNamed
- A class that contains the code generated named dependency objects from @NamedDependency annotation.
- WeaverScope
- Annotation used to define a scope for dependencies.
- WeaverSession
- Annotation used to define a session for grouping dependencies.
- WeaverSwitchScope
- Defines a switch scope: several labeled child entry points, only one active at a time.