AnimationConfig constructor
AnimationConfig({
- double? scale,
- double? scaleX,
- double? scaleY,
- double? opacity,
- Offset? translate,
- double? translateX,
- double? translateY,
- double? rotate,
- SlideDirection? slideIn,
- Duration duration = const Duration(milliseconds: 300),
- Duration delay = Duration.zero,
- Curve curve = Curves.easeInOut,
- bool repeat = false,
- bool reverse = false,
- int? repeatCount,
- bool persist = false,
- bool bounce = false,
- 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,
});