UdBasicButton constructor
UdBasicButton({
- double? width,
- double? height,
- Color? backgroundColor,
- String? title,
- double? titleFontSize,
- Color? titleColor,
- FontWeight? titleFontWeight,
- double? paddingArroundTitle,
- Color? borderColor,
- Color? foregroundColor,
- Color? surfaceTintColor,
- double? borderWidth,
- double? borderRadius,
- BorderRadius? customBorderRadius,
- Color? shadowColor,
- Offset? shadowOffset,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
- Color? splashColor,
- bool? disableShadow,
- bool? skipTraversal,
- Widget? customChild,
- 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,
});