FastIconButton constructor
const
FastIconButton({
- required VoidCallback onTap,
- required Widget icon,
- Duration trottleTimeDuration = kFastTrottleTimeDuration,
- bool shouldTrottleTime = false,
- Color? highlightColor,
- bool isEnabled = true,
- Color? disabledColor,
- Color? textColor,
- FastButtonEmphasis emphasis = FastButtonEmphasis.low,
- EdgeInsetsGeometry? padding,
- Key? key,
- Alignment iconAlignment = Alignment.center,
- double iconSize = kFastIconSizeSmall,
- Color? iconColor,
- String? tooltip,
Implementation
const FastIconButton({
required super.onTap,
required this.icon,
super.trottleTimeDuration,
super.shouldTrottleTime,
super.highlightColor,
super.isEnabled,
super.disabledColor,
super.textColor,
super.emphasis,
super.padding,
super.key,
this.iconAlignment = Alignment.center,
this.iconSize = kFastIconSizeSmall,
this.iconColor,
this.tooltip,
});