AppSecondaryElevatedButton constructor
const
AppSecondaryElevatedButton({
- Key? key,
- required String label,
- void onPressed()?,
- Color? bgColor,
- Color? textColor,
- double? width,
- double? height,
- double? radius,
- EdgeInsetsGeometry? padding,
- double? elevation,
- bool isLoading = false,
- bool enabled = true,
- IconData? prefixIcon,
- IconData? suffixIcon,
- bool enableDebounce = true,
- Duration debounceDuration = const Duration(milliseconds: 300),
- String? semanticLabel,
- bool? enableSecurity,
Implementation
const AppSecondaryElevatedButton({
super.key,
required this.label,
this.onPressed,
this.bgColor,
this.textColor,
this.width,
this.height,
this.radius,
this.padding,
this.elevation,
this.isLoading = false,
this.enabled = true,
this.prefixIcon,
this.suffixIcon,
this.enableDebounce = true,
this.debounceDuration = const Duration(milliseconds: 300),
this.semanticLabel,
this.enableSecurity,
});