duration property

Duration duration
final

The duration of the animation.

If repeatMode is RepeatMode.restart, this is the duration of the entire animation sequence from 0.0 to 1.0.

If repeatMode is RepeatMode.reverse, both the forward segment (0.0 to 1.0) and the backward segment (1.0 to 0.0) will each take this duration separately. The total time for one complete forward-and-reverse cycle will be twice this value.

Implementation

final Duration duration;