GtdButton constructor

const GtdButton({
  1. Key? key,
  2. GtdVoidCallback? onPressed,
  3. String? text,
  4. double? height,
  5. double? width,
  6. Color? colorText,
  7. Widget? trailingIcon,
  8. Widget? leadingIcon,
  9. double? borderRadius,
  10. FontWeight? fontWeight,
  11. Gradient? gradient,
  12. Color? color,
  13. BorderSide? borderSide,
  14. EdgeInsetsGeometry? padding,
  15. double? fontSize,
  16. bool isEnable = true,
  17. double? elevation,
  18. String? tooltip,
})

Implementation

const GtdButton({
  super.key,
  this.onPressed,
  this.text,
  this.height,
  this.width,
  this.colorText,
  this.trailingIcon,
  this.leadingIcon,
  this.borderRadius,
  this.fontWeight,
  this.gradient,
  this.color,
  this.borderSide,
  this.padding,
  this.fontSize,
  this.isEnable = true,
  this.elevation,
  this.tooltip,
});