currentTrain property Null safety

Animation<double>? currentTrain

The animation that is currently driving this animation.

The identity of this object will change from the first animation to the second animation when onSwitchedTrain is called.

Implementation

Animation<double>? get currentTrain => _currentTrain;