onSwitchedTrain property

VoidCallback? onSwitchedTrain
getter/setter pair

Called when this animation switches to be driven by the second animation.

This is not called if the two animations provided to the constructor have the same value at the time of the call to the constructor. In that case, the second animation is used from the start, and the first is ignored.

Implementation

VoidCallback? onSwitchedTrain;