ReactiveProvider<T> class

A reactive provider that automatically updates when dependencies change.

Inheritance

Constructors

ReactiveProvider.new(T _creator(), {List<Reactive> dependencies = const []})
Creates a reactive provider that watches the given dependencies.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Gets a unique identifier for this provider.
no setterinherited
reactive Reactive<T>
Gets the reactive value directly.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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