Value<T> class
- Inheritance
-
- Object
- Listenable
- ListNotifier
- Value
- Implemented types
- Mixed-in types
-
- StateMixin<
T>
- StateMixin<
- Available extensions
Constructors
- Value(T val)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
no setterinherited
- listeners → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → T?
-
no setterinherited
- status → RxStatus
-
no setterinherited
- value ↔ T?
-
The current value of the object. When the value changes, the callbacks
registered with addListener will be invoked.
getter/setter pairoverride
Methods
-
addListener(
GetStateUpdate listener) → Disposer -
Register a closure to be called when the object notifies its listeners.
inherited
-
addListenerId(
Object? key, GetStateUpdate listener) → Disposer -
inherited
-
append(
Future< T> Function() body(), {String? errorMessage}) → void -
inherited
-
call(
[T? v]) → T? -
change(
T? newState, {RxStatus? status}) → void -
inherited
-
dispose(
) → void -
inherited
-
disposeId(
Object id) → void -
To dispose an
id
from future updates(), this ids are registered byGetBuilder()
or similar, so is a way to unlink the state change with the Widget from the Controller.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyChildrens(
) → void -
inherited
-
refresh(
) → void -
inherited
-
refreshGroup(
Object id) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
removeListenerId(
Object id, VoidCallback listener) → void -
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
override
-
update(
void fn(T? value)) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited