A mixin that implements the addListener/removeListener protocol and notifies all the registered listeners when notifyListeners is called.
Constructors
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addListener(
VoidCallback listener) → void -
Calls the listener every time the value of the animation changes.
-
notifyListeners(
) → void -
Calls all the listeners.
-
removeListener(
VoidCallback listener) → void -
Stop calling the listener every time the value of the animation changes.
-
didRegisterListener(
) → void -
inherited
-
didUnregisterListener(
) → void -
inherited
-
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