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