UdBasicButton constructor

UdBasicButton({
  1. double? width,
  2. double? height,
  3. Color? backgroundColor,
  4. String? title,
  5. double? titleFontSize,
  6. Color? titleColor,
  7. FontWeight? titleFontWeight,
  8. double? paddingArroundTitle,
  9. Color? borderColor,
  10. Color? foregroundColor,
  11. Color? surfaceTintColor,
  12. double? borderWidth,
  13. double? borderRadius,
  14. BorderRadius? customBorderRadius,
  15. Color? shadowColor,
  16. Offset? shadowOffset,
  17. double? shadowBlurRadius,
  18. double? shadowSpreadRadius,
  19. Color? splashColor,
  20. bool? disableShadow,
  21. bool? skipTraversal,
  22. Widget? customChild,
  23. Function? onTap,
})

UdBasicButton is a basic button made with possible options that a developer will need. Modify the button in your way passing values.

Implementation

UdBasicButton({
  this.width,
  this.height,
  this.backgroundColor,
  this.title,
  this.titleFontSize,
  this.titleColor,
  this.titleFontWeight,
  this.paddingArroundTitle,
  this.borderColor,
  this.foregroundColor,
  this.surfaceTintColor,
  this.borderWidth,
  this.borderRadius,
  this.customBorderRadius,
  this.shadowColor,
  this.shadowOffset,
  this.shadowBlurRadius,
  this.shadowSpreadRadius,
  this.splashColor,
  this.disableShadow,
  this.skipTraversal,
  this.customChild,
  this.onTap,
});