duration property
final
The duration of the transition from the old child value to the new one.
This duration is applied to the given child when that property is set to a new child. The same duration is used when fading out. Changing duration will not affect the durations of transitions already in progress.
Implementation
final Duration duration