AppTextButton constructor

const AppTextButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. Color? textColor,
  5. double? fontSize,
  6. FontWeight? fontWeight,
  7. TextDecoration? decoration,
  8. bool enabled = true,
  9. EdgeInsetsGeometry? padding,
  10. IconData? prefixIcon,
  11. IconData? suffixIcon,
  12. double? iconSize,
  13. bool enableDebounce = true,
  14. Duration debounceDuration = const Duration(milliseconds: 300),
  15. String? semanticLabel,
  16. bool? enableSecurity,
})

Implementation

const AppTextButton({
  super.key,
  required this.label,
  this.onPressed,
  this.textColor,
  this.fontSize,
  this.fontWeight,
  this.decoration,
  this.enabled = true,
  this.padding,
  this.prefixIcon,
  this.suffixIcon,
  this.iconSize,
  this.enableDebounce = true,
  this.debounceDuration = const Duration(milliseconds: 300),
  this.semanticLabel,
  this.enableSecurity,
});