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