CButton.icon constructor

CButton.icon(
  1. dynamic onPressed(),
  2. String text,
  3. Widget? icon, {
  4. Key? key,
  5. ButtonType? type = ButtonType.icon,
  6. ButtonShape? typeButton = ButtonShape.filled,
  7. dynamic onLongPress()?,
  8. FocusNode? focusNode,
  9. ButtonStyle? buttonStyle,
  10. Widget? child,
  11. Color? textColor,
  12. TextAlign? textAlign,
  13. double? fontSize,
  14. String? fontFamily,
  15. FontWeight? fontWeight,
  16. TextStyle? textStyle,
})

Implementation

CButton.icon(this.onPressed,
    this.text,
    this.icon, {
      super.key,
      this.type = ButtonType.icon,
      this.typeButton = ButtonShape.filled,
      this.onLongPress,
      this.focusNode,
      this.buttonStyle,
      this.child,
      this.textColor,
      this.textAlign,
      this.fontSize,
      this.fontFamily,
      this.fontWeight,
      this.textStyle,
    });