FastActionButton constructor

const FastActionButton({
  1. Key? key,
  2. Duration trottleTimeDuration = kFastButtonTrottleTimeDuration,
  3. FastButtonEmphasis emphasis = FastButtonEmphasis.low,
  4. Alignment iconAlignment = Alignment.center,
  5. bool shouldTrottleTime = true,
  6. bool flexible = false,
  7. bool isEnabled = true,
  8. Color? highlightColor,
  9. Color? disabledColor,
  10. String? semanticLabel,
  11. BoxConstraints? constraints,
  12. Color? focusColor,
  13. Color? hoverColor,
  14. Color? iconColor,
  15. String? debugLabel,
  16. double? iconSize,
  17. String? tooltip,
  18. EdgeInsetsGeometry? padding,
  19. VoidCallback? onTap,
  20. Widget? icon,
  21. 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,
});