FastTextButton2 constructor

const FastTextButton2({
  1. Key? key,
  2. Duration trottleTimeDuration = kFastButtonTrottleTimeDuration,
  3. FastButtonEmphasis emphasis = FastButtonEmphasis.low,
  4. bool shouldTrottleTime = false,
  5. bool upperCase = false,
  6. bool isEnabled = true,
  7. Color? backgroundColor,
  8. Color? highlightColor,
  9. Color? disabledColor,
  10. String? semanticLabel,
  11. Alignment? textAlignment,
  12. BoxConstraints? constraints,
  13. Color? focusColor,
  14. Color? hoverColor,
  15. String? debugLabel,
  16. bool flexible = false,
  17. TextStyle? textStyle,
  18. String? labelText,
  19. EdgeInsetsGeometry? padding,
  20. String? tooltip,
  21. VoidCallback? onTap,
  22. FastButtonSize? size,
  23. Widget? child,
})

Implementation

const FastTextButton2({
  super.key,
  super.trottleTimeDuration = kFastButtonTrottleTimeDuration,
  super.emphasis = FastButtonEmphasis.low,
  super.shouldTrottleTime = false,
  this.upperCase = false,
  super.isEnabled = true,
  this.backgroundColor,
  super.highlightColor,
  super.disabledColor,
  super.semanticLabel,
  this.textAlignment,
  super.constraints,
  super.focusColor,
  super.hoverColor,
  super.debugLabel,
  super.flexible,
  this.textStyle,
  this.labelText,
  super.padding,
  super.tooltip,
  super.onTap,
  super.size,
  this.child,
});