addListener method
Calls the listener every time the value of the animation changes.
Listeners can be removed with removeListener.
Implementation
@override
void addListener(Function listener) {
_controller.addListener(listener as void Function());
}