ProButtonText constructor

const ProButtonText({
  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. double? elevation,
  11. EdgeInsets? padding,
  12. FocusNode? focusNode,
  13. required Function function,
})

ProButtonText is a basic text type button made with major parameters that a developer will need. Modify the button in your way, passing values easily.

Implementation

const ProButtonText({
  Key? key,
  this.text,
  this.fontSize,
  this.fontColor,
  this.fontWeight,
  this.width,
  this.height,
  this.borderRadius,
  this.backgroundColor,
  this.elevation,
  this.padding,
  this.focusNode,
  required this.function,
}) : super(key: key);