WidgetRef class abstract

Interface for Interacting with Atoms from Widgets.

Constructors

WidgetRef()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

emit<T>(Effect<T> effect, T payload) → void
Emits an effect payload.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read<T>(Atom<T> atom) → T
Reads an Atom's value without subscribing.
toString() String
A string representation of this object.
inherited
watch<T>(Atom<T> atom) → T
Watches an Atom and rebuilds the widget when it changes.

Operators

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