FastIconButton2 constructor

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

Implementation

const FastIconButton2({
  super.key,
  required this.icon,
  super.trottleTimeDuration = kFastButtonTrottleTimeDuration,
  super.emphasis = FastButtonEmphasis.low,
  super.shouldTrottleTime = false,
  super.isEnabled = true,
  super.highlightColor,
  super.disabledColor,
  super.semanticLabel,
  this.iconAlignment,
  super.constraints,
  super.focusColor,
  super.hoverColor,
  super.debugLabel,
  super.flexible,
  this.iconColor,
  this.iconSize,
  super.padding,
  super.tooltip,
  super.onTap,
  super.size,
});