CustomAnimateRotation constructor

const CustomAnimateRotation({
  1. Key? key,
  2. required Widget child,
  3. Duration rotateAnimateDuration = const Duration(seconds: 1),
  4. double rotateFirstValue = 0,
  5. double rotateSecondValue = 1,
  6. Curve curve = Curves.easeInOut,
  7. dynamic onAnimationEnd()?,
  8. dynamic onAnimationStart()?,
  9. bool isRepeat = false,
})

Implementation

const CustomAnimateRotation({
  Key? key,
  required this.child,
  this.rotateAnimateDuration = const Duration(seconds: 1),
  this.rotateFirstValue = 0,
  this.rotateSecondValue = 1,
  this.curve = Curves.easeInOut,
  this.onAnimationEnd,
  this.onAnimationStart,
  this.isRepeat = false,
}) : super(key: key);