removeListener method

  1. @override
void removeListener (VoidCallback listener)
override

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

If listener is not currently registered as a listener, this method does nothing.

Listeners can be added with addListener.

Implementation

@override
void removeListener(VoidCallback listener) {
  parent.removeListener(listener);
  didUnregisterListener();
}