FastPopButton constructor

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

Implementation

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