removeStatusListener method

void removeStatusListener (AnimationStatusListener listener)

Stops calling the listener every time the status of the animation changes.

Listeners can be added with addStatusListener.

Implementation

void removeStatusListener(AnimationStatusListener listener) {
  final bool removed = _statusListeners.remove(listener);
  if (removed) {
    didUnregisterListener();
  }
}