removeListener method

void removeListener (void listener)

Stop calling the listener every time the value of the animation changes.

Listeners can be added with addListener.

Implementation

void removeListener(VoidCallback listener) {
  _listeners.remove(listener);
  didUnregisterListener();
}