transitionDuration property
The duration the transition going forwards.
See also:
- reverseTransitionDuration, which controls the duration of the transition when it is in reverse.
Implementation
@override
Duration get transitionDuration {
final effectiveTheme = theme ?? KillSwitchTheme.light();
return effectiveTheme.animationDuration ??
const Duration(milliseconds: 300);
}