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