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