Stop calling the listener every time the value of the animation changes.
Listeners can be added with addListener.
Source
void removeListener(VoidCallback listener) { _listeners.remove(listener); didUnregisterListener(); }
Stop calling the listener every time the value of the animation changes.
Listeners can be added with addListener.
void removeListener(VoidCallback listener) { _listeners.remove(listener); didUnregisterListener(); }