FastAnimatedRotationIconButton constructor
const
FastAnimatedRotationIconButton({
- Key? key,
- required VoidCallback onTap,
- Alignment iconAlignment = Alignment.center,
- double iconSize = kFastIconSizeSmall,
- EdgeInsetsGeometry padding = kFastEdgeInsets8,
- bool shouldTrottleTime = false,
- bool isEnabled = true,
- bool rotate = false,
- AnimationController? animationController,
- Color? iconColor,
- 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.iconColor,
this.icon,
}) : super(key: key);