ConfigElevatedButton constructor

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

Implementation

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