AnimationLocalStatusListenersMixin mixin Null safety

A mixin that implements the addStatusListener/removeStatusListener protocol and notifies all the registered listeners when notifyStatusListeners is called.

This mixin requires that the mixing class provide methods didRegisterListener and didUnregisterListener. Implementations of these methods can be obtained by mixing in another mixin from this library, such as AnimationLazyListenerMixin.

Mixin Applications


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


didRegisterListener() → void
Called immediately before a status listener is added via addStatusListener. [...]
didUnregisterListener() → void
Called immediately after a status listener is removed via removeStatusListener. [...]
addStatusListener(AnimationStatusListener listener) → void
Calls listener every time the status of the animation changes. [...]
removeStatusListener(AnimationStatusListener listener) → void
Stops calling the listener every time the status of the animation changes. [...]
clearStatusListeners() → void
Removes all listeners added with addStatusListener. [...]
notifyStatusListeners(AnimationStatus status) → void
Calls all the status listeners. [...]
toString() String
A string representation of this object. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]


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