CountdownAnimationConfig constructor
const
CountdownAnimationConfig({
- bool enabled = true,
- Duration duration = const Duration(milliseconds: 300),
- Curve curve = Curves.easeInOut,
- bool enablePulseAnimation = true,
- int pulseThreshold = 10,
- bool enableShakeAnimation = true,
- bool enableScaleAnimation = true,
- bool enableFadeAnimation = true,
- Widget customAnimationBuilder()?,
Implementation
const CountdownAnimationConfig({
this.enabled = true,
this.duration = const Duration(milliseconds: 300),
this.curve = Curves.easeInOut,
this.enablePulseAnimation = true,
this.pulseThreshold = 10,
this.enableShakeAnimation = true,
this.enableScaleAnimation = true,
this.enableFadeAnimation = true,
this.customAnimationBuilder,
});