AppSecondaryElevatedButton constructor

const AppSecondaryElevatedButton({
  1. Key? key,
  2. required String label,
  3. void onPressed()?,
  4. Color? bgColor,
  5. Color? textColor,
  6. double? width,
  7. double? height,
  8. double? radius,
  9. EdgeInsetsGeometry? padding,
  10. double? elevation,
  11. bool isLoading = false,
  12. bool enabled = true,
  13. IconData? prefixIcon,
  14. IconData? suffixIcon,
  15. bool enableDebounce = true,
  16. Duration debounceDuration = const Duration(milliseconds: 300),
  17. String? semanticLabel,
  18. 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,
});