AnimationStateListener typedef
AnimationStateListener =
void Function(EventType type, TrackEntry entry, Event? event)
The callback to implement for receiving TrackEntry events. It is always safe to call AnimationState methods when receiving events.
TrackEntry events are collected during AnimationState.update and AnimationState.apply and fired only after those methods are finished.
Implementation
typedef AnimationStateListener = void Function(EventType type, TrackEntry entry, Event? event);