FastAnimatedRotationIconButton constructor

const FastAnimatedRotationIconButton({
  1. Key? key,
  2. required VoidCallback onTap,
  3. Alignment iconAlignment = Alignment.center,
  4. double iconSize = kFastIconSizeSmall,
  5. EdgeInsetsGeometry padding = kFastEdgeInsets8,
  6. bool shouldTrottleTime = false,
  7. bool isEnabled = true,
  8. bool rotate = false,
  9. AnimationController? animationController,
  10. Color? disabledColor,
  11. Color? iconColor,
  12. Widget? icon,
})

Implementation

const FastAnimatedRotationIconButton({
  Key? key,
  required this.onTap,
  this.iconAlignment = Alignment.center,
  this.iconSize = kFastIconSizeSmall,
  this.padding = kFastEdgeInsets8,
  this.shouldTrottleTime = false,
  this.isEnabled = true,
  this.rotate = false,
  this.animationController,
  this.disabledColor,
  this.iconColor,
  this.icon,
}) : super(key: key);