An object that maintains a list of listeners.

Implemented by

Constructors

Listenable()
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const
Listenable.merge(List<Listenable> listenables)
Return a Listenable that triggers when any of the given Listenables themselves trigger. [...]
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited