duration property Null safety

Duration? duration
read / write

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

Duration? duration;