FastIconButton constructor

const FastIconButton({
  1. required VoidCallback onTap,
  2. required Widget icon,
  3. Duration trottleTimeDuration = kFastTrottleTimeDuration,
  4. bool shouldTrottleTime = false,
  5. Color? highlightColor,
  6. bool isEnabled = true,
  7. Color? disabledColor,
  8. Color? textColor,
  9. FastButtonEmphasis emphasis = FastButtonEmphasis.low,
  10. EdgeInsetsGeometry? padding,
  11. Key? key,
  12. Alignment iconAlignment = Alignment.center,
  13. double iconSize = kFastIconSizeSmall,
  14. Color? iconColor,
  15. String? tooltip,
})

Implementation

const FastIconButton({
  required super.onTap,
  required this.icon,
  super.trottleTimeDuration,
  super.shouldTrottleTime,
  super.highlightColor,
  super.isEnabled,
  super.disabledColor,
  super.textColor,
  super.emphasis,
  super.padding,
  super.key,
  this.iconAlignment = Alignment.center,
  this.iconSize = kFastIconSizeSmall,
  this.iconColor,
  this.tooltip,
});