NormalElevatedButton constructor

const NormalElevatedButton({
  1. Key? key,
  2. required String title,
  3. void onPressed()?,
  4. Color? color,
  5. Color? txtcolor,
  6. EdgeInsetsGeometry? padding,
  7. double? radius,
  8. double? width,
  9. double? height,
  10. double? fontSize,
  11. FontWeight? fontWeight,
  12. double? elevation,
  13. bool isLoading = false,
  14. bool enabled = true,
  15. IconData? prefixIcon,
  16. IconData? suffixIcon,
  17. double? iconSize,
  18. bool enableDebounce = true,
  19. Duration debounceDuration = const Duration(milliseconds: 300),
  20. String? semanticLabel,
  21. bool? enableSecurity,
})

Implementation

const NormalElevatedButton({
  super.key,
  required this.title,
  this.onPressed,
  this.color,
  this.txtcolor,
  this.padding,
  this.radius,
  this.width,
  this.height,
  this.fontSize,
  this.fontWeight,
  this.elevation,
  this.isLoading = false,
  this.enabled = true,
  this.prefixIcon,
  this.suffixIcon,
  this.iconSize,
  this.enableDebounce = true,
  this.debounceDuration = const Duration(milliseconds: 300),
  this.semanticLabel,
  this.enableSecurity,
});