FastCloseButton constructor

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

Implementation

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