FastButton constructor

const FastButton({
  1. Key? key,
  2. Duration trottleTimeDuration = kFastTrottleTimeDuration,
  3. FastButtonEmphasis emphasis = FastButtonEmphasis.low,
  4. bool shouldTrottleTime = false,
  5. bool upperCase = false,
  6. bool isEnabled = true,
  7. Color? highlightColor,
  8. Color? hoverColor,
  9. Color? focusColor,
  10. Color? disabledColor,
  11. Color? textColor,
  12. EdgeInsetsGeometry? padding,
  13. Widget? child,
  14. VoidCallback? onTap,
  15. String? text,
})

Implementation

const FastButton({
  super.key,
  this.trottleTimeDuration = kFastTrottleTimeDuration,
  this.emphasis = FastButtonEmphasis.low,
  this.shouldTrottleTime = false,
  this.upperCase = false,
  this.isEnabled = true,
  this.highlightColor,
  this.hoverColor,
  this.focusColor,
  this.disabledColor,
  this.textColor,
  this.padding,
  this.child,
  this.onTap,
  this.text,
});