ProButtonBasic constructor

const ProButtonBasic({
  1. Key? key,
  2. String? text,
  3. double? fontSize,
  4. Color? fontColor,
  5. FontWeight? fontWeight,
  6. double? width,
  7. double? height,
  8. double? borderRadius,
  9. Color? backgroundColor,
  10. EdgeInsets? padding,
  11. FocusNode? focusNode,
  12. bool? enableShadow,
  13. required Function onTap,
  14. Widget? customChild,
  15. double? borderWidth,
  16. BorderRadius? customBorderRadius,
  17. Color? borderColor,
  18. Color? splashColor,
  19. Color? shadowColor,
  20. Offset? shadowOffset,
  21. double? shadowBlurRadius,
  22. double? shadowSpreadRadius,
})

ProButtonBasic is a basic button made with important parameters that a developer will need. Modify the button in your way, passing values easily.

Implementation

const ProButtonBasic({
  Key? key,
  this.text,
  this.fontSize,
  this.fontColor,
  this.fontWeight,
  this.width,
  this.height,
  this.borderRadius,
  this.backgroundColor,
  this.padding,
  this.focusNode,
  this.enableShadow,
  required this.onTap,
  this.customChild,
  this.borderWidth,
  this.customBorderRadius,
  this.borderColor,
  this.splashColor,
  this.shadowColor,
  this.shadowOffset,
  this.shadowBlurRadius,
  this.shadowSpreadRadius,
}) : super(key: key);