duration property

Duration duration
final

The Duration for the Animation Controller.

This will set the total duration for the animated widget. For example, if you want the text animation to take 3 seconds, then you have to set duration to 3 seconds.

Implementation

final Duration duration;