duration property
The duration of the animation.
Specifies how long the animation should take to complete.
Implementation
final Duration duration;
The duration of the animation.
Specifies how long the animation should take to complete.
final Duration duration;