removeListener method Null safety

  1. @override
void removeListener(
  1. 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);