duration property
It is the time it takes to execute the animation from beginning to end or vice versa.
Implementation
final Duration duration;
It is the time it takes to execute the animation from beginning to end or vice versa.
final Duration duration;