AppOutlinedButton constructor

const AppOutlinedButton({
  1. Key? key,
  2. String? label,
  3. Color? bgColor,
  4. Color? brdColor,
  5. bool? hideBorder,
  6. void onPressed()?,
  7. Widget? child,
  8. double? buttonHeight,
  9. double? buttonWidth,
  10. Color? textcolour,
  11. double? borderWidth,
  12. double? radius,
  13. EdgeInsetsGeometry? padding,
  14. bool isLoading = false,
  15. bool enabled = true,
  16. IconData? prefixIcon,
  17. IconData? suffixIcon,
  18. double? iconSize,
  19. FontWeight? fontWeight,
  20. double? fontSize,
  21. bool enableDebounce = true,
  22. Duration debounceDuration = const Duration(milliseconds: 300),
  23. String? semanticLabel,
  24. bool? enableSecurity,
})

Implementation

const AppOutlinedButton({
  super.key,
  this.label,
  this.bgColor,
  this.brdColor,
  this.hideBorder,
  this.onPressed,
  this.child,
  this.buttonHeight,
  this.buttonWidth,
  this.textcolour,
  this.borderWidth,
  this.radius,
  this.padding,
  this.isLoading = false,
  this.enabled = true,
  this.prefixIcon,
  this.suffixIcon,
  this.iconSize,
  this.fontWeight,
  this.fontSize,
  this.enableDebounce = true,
  this.debounceDuration = const Duration(milliseconds: 300),
  this.semanticLabel,
  this.enableSecurity,
});