AnimateChangeIcon constructor

const AnimateChangeIcon({
  1. required Icon firstIcon,
  2. required Icon secondIcon,
  3. Duration animateDuration = const Duration(milliseconds: 300),
  4. bool initialPushed = false,
  5. AnimationController? animationController,
  6. Curve scaleAnimationCurve = Curves.linear,
  7. Curve rotateAnimationCurve = Curves.linear,
  8. double rotateBeginAngle = -pi / 2,
  9. double rotateEndAngle = 0.0,
  10. void onTap()?,
  11. Key? key,
})

Implementation

const AnimateChangeIcon({
  required this.firstIcon,
  required this.secondIcon,
  this.animateDuration = const Duration(milliseconds: 300),
  this.initialPushed = false,
  this.animationController,
  this.scaleAnimationCurve = Curves.linear,
  this.rotateAnimationCurve = Curves.linear,
  this.rotateBeginAngle = -pi / 2,
  this.rotateEndAngle = 0.0,
  this.onTap,
  super.key,
});