PumaButton constructor

PumaButton({
  1. Key? key,
  2. String title = "",
  3. String? subtitle,
  4. Color? color,
  5. Color? textColor,
  6. bool disabled = false,
  7. Widget? icon,
  8. double titleFontSize = 18,
  9. double? width,
  10. required void onPressed(),
})

Implementation

PumaButton({
  Key? key,
  this.title = "",
  this.subtitle,
  this.color,
  this.textColor,
  this.disabled = false,
  this.icon,
  this.titleFontSize = 18,
  this.width,
  required this.onPressed,
}) : super(key: key);