duration property

Duration duration
final

Accepts a Duration that would be the time period of animation. Default value is Duration(seconds: 3)

Implementation

final Duration duration;