Calls listener methods every time the value or status of the selection animation changes.
Listeners can be removed with removeAnimationListener.
Source
void addAnimationListener(TabBarSelectionAnimationListener listener) { _animationListeners.add(listener); _controller ..addStatusListener(listener.handleStatusChange) ..addListener(listener.handleProgressChange); }