CountdownAnimationConfig constructor

const CountdownAnimationConfig({
  1. bool enabled = true,
  2. Duration duration = const Duration(milliseconds: 300),
  3. Curve curve = Curves.easeInOut,
  4. bool enablePulseAnimation = true,
  5. int pulseThreshold = 10,
  6. bool enableShakeAnimation = true,
  7. bool enableScaleAnimation = true,
  8. bool enableFadeAnimation = true,
  9. Widget customAnimationBuilder(
    1. Widget child,
    2. Animation<double> animation
    )?,
})

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,
});