AnimationConfig constructor

AnimationConfig({
  1. double? scale,
  2. double? scaleX,
  3. double? scaleY,
  4. double? opacity,
  5. Offset? translate,
  6. double? translateX,
  7. double? translateY,
  8. double? rotate,
  9. SlideDirection? slideIn,
  10. Duration duration = const Duration(milliseconds: 300),
  11. Duration delay = Duration.zero,
  12. Curve curve = Curves.easeInOut,
  13. bool repeat = false,
  14. bool reverse = false,
  15. int? repeatCount,
  16. bool persist = false,
  17. bool bounce = false,
  18. bool pulse = false,
})

Implementation

AnimationConfig({
  this.scale,
  this.scaleX,
  this.scaleY,
  this.opacity,
  this.translate,
  this.translateX,
  this.translateY,
  this.rotate,
  this.slideIn,
  this.duration = const Duration(milliseconds: 300),
  this.delay = Duration.zero,
  this.curve = Curves.easeInOut,
  this.repeat = false,
  this.reverse = false,
  this.repeatCount,
  this.persist = false,
  this.bounce = false,
  this.pulse = false,
});