duration property

Duration? duration
final

The length of time this animation should last.

If reverseDuration is specified, then duration is only used when going forward. Otherwise, it specifies the duration going in both directions.

Implementation

final Duration? duration;