ReactiveProvider<T> class
A reactive provider that automatically updates when dependencies change.
- Inheritance
-
- Object
- BaseProvider<
T> - ReactiveProvider
Constructors
-
ReactiveProvider.new(T _creator(), {List<
Reactive> dependencies = const []}) - Creates a reactive provider that watches the given dependencies.
Properties
Methods
-
create(
) → T -
Creates an instance of type T.
override
-
dispose(
) → void -
Optional cleanup method that can be overridden by subclasses.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited