addStatusListener method
- AnimationStatusListener listener
Calls listener every time the status of the animation changes.
Listeners can be removed with removeStatusListener.
Implementation
void addStatusListener(AnimationStatusListener listener) {
didRegisterListener();
_statusListeners.add(listener);
}