duration property Null safety

Duration duration
final

Total duration for one cycle of animation.

Default value is set to Duration(milliseconds: 1500).

Implementation

final Duration duration;