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