FastIconButton2 constructor
const
FastIconButton2({
- Key? key,
- required Widget icon,
- Duration trottleTimeDuration = kFastButtonTrottleTimeDuration,
- FastButtonEmphasis emphasis = FastButtonEmphasis.low,
- bool shouldTrottleTime = false,
- bool isEnabled = true,
- Color? highlightColor,
- Color? disabledColor,
- String? semanticLabel,
- Alignment? iconAlignment,
- BoxConstraints? constraints,
- Color? focusColor,
- Color? hoverColor,
- String? debugLabel,
- bool flexible = false,
- Color? iconColor,
- double? iconSize,
- EdgeInsetsGeometry? padding,
- String? tooltip,
- VoidCallback? onTap,
- FastButtonSize? size,
Implementation
const FastIconButton2({
super.key,
required this.icon,
super.trottleTimeDuration = kFastButtonTrottleTimeDuration,
super.emphasis = FastButtonEmphasis.low,
super.shouldTrottleTime = false,
super.isEnabled = true,
super.highlightColor,
super.disabledColor,
super.semanticLabel,
this.iconAlignment,
super.constraints,
super.focusColor,
super.hoverColor,
super.debugLabel,
super.flexible,
this.iconColor,
this.iconSize,
super.padding,
super.tooltip,
super.onTap,
super.size,
});