AppTextButton constructor
const
AppTextButton({
- Key? key,
- required String label,
- VoidCallback? onPressed,
- Color? textColor,
- double? fontSize,
- FontWeight? fontWeight,
- TextDecoration? decoration,
- bool enabled = true,
- EdgeInsetsGeometry? padding,
- IconData? prefixIcon,
- IconData? suffixIcon,
- double? iconSize,
- bool enableDebounce = true,
- Duration debounceDuration = const Duration(milliseconds: 300),
- String? semanticLabel,
- 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,
});