ValueListenable<T> class abstract

A Listenable with a current value, whose listeners are called when the value changes.

See also:

Inheritance
Implementers

Constructors

ValueListenable()
For subclasses.
const

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
The current value.
no setter

Methods

addListener(VoidCallback listener) → void
Calls listener whenever this object changes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Stops calling listener, once for each time it was added; a listener that is not added is ignored.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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