duration property
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. Changing duration will not affect the durations of transitions already in progress.
Implementation
final Duration duration;