animationDuration property
The combined duration of the forward and reverse animation in milliseconds when the button is pressed. forwardDuration = animationDuration ~/ 2 reverseDuration = animationDuration ~/ 2
The default value is 50.0 milliseconds.
In the case when different durations are needed, use the forwardDuration and reverseDuration parameters.
Implementation
final Duration animationDuration;