FastPopButton constructor

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

Implementation

const FastPopButton({
  super.key,
  this.trottleTimeDuration = kFastButtonTrottleTimeDuration,
  this.emphasis = FastButtonEmphasis.low,
  this.iconSize = defaultIconSize,
  this.shouldTrottleTime = true,
  this.size = defaultButtonSize,
  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.tooltip,
  this.padding,
  this.onTap,
  this.icon,
});