MutableValue<T> class
abstract
Simpler alternative to ValueNotifier
.
To convert a ValueNotifier
to MutableValue use the .asMutableValue()
extension.
- Implemented types
-
- Value<
T>
- Value<
- Implementers
- Available extensions
Constructors
- MutableValue(T initialValue)
-
factory
- MutableValue.computed(T get(), void set(T))
-
constfactory
-
MutableValue.delegate(MutableValue<
T> value) -
constfactory
- MutableValue.late()
-
factory
- MutableValue.property(T value, void set(T))
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
getter/setter pairinherited-getter
Methods
-
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