AnimationWrapper constructor

const AnimationWrapper({
  1. Key? key,
  2. required Widget child,
  3. required AnimationType type,
  4. Duration duration = const Duration(milliseconds: 500),
  5. Duration delay = Duration.zero,
  6. Curve curve = Curves.easeOut,
  7. bool repeat = false,
  8. bool reverse = false,
})

Implementation

const AnimationWrapper({
  super.key,
  required this.child,
  required this.type,
  this.duration = const Duration(milliseconds: 500),
  this.delay = Duration.zero,
  this.curve = Curves.easeOut,
  this.repeat = false,
  this.reverse = false,
});