AnimationBuilder constructor

const AnimationBuilder({
  1. Key? key,
  2. required Widget child,
  3. required AnimationType animationType,
  4. required AnimationPosition position,
  5. required AnimationController controller,
  6. bool buildWithAnimation = true,
  7. Duration animationDelay = Duration.zero,
  8. Duration duration = const Duration(milliseconds: 300),
  9. Curve curve = Curves.easeInOut,
  10. bool autoStart = true,
  11. int repeatCount = 0,
  12. bool reverse = false,
})

Implementation

const AnimationBuilder({
  super.key,
  required this.child,
  required this.animationType,
  required this.position,
  required this.controller,
  this.buildWithAnimation = true,
  this.animationDelay = Duration.zero,
  this.duration = const Duration(milliseconds: 300),
  this.curve = Curves.easeInOut,
  this.autoStart = true,
  this.repeatCount = 0,
  this.reverse = false,
});