Ref<T> class abstract interface

Represents a reactive reference to a value of type T.

Implementers
Available extensions

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
Gets the current value of the reference.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
obs(Widget builder(T value), {Key? key}) SetupWidget

Available on Ref<T>, provided by the RefObserverUtils extension

Creates an Observer widget that rebuilds when this ref's value changes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited