CButton constructor

CButton({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPressed,
  4. bool? disabled,
  5. CButtonSize? size,
  6. Color? color,
  7. CButtonStyle? type,
  8. Color? textColor,
  9. double? width,
  10. double? height,
  11. EdgeInsetsGeometry? margin,
  12. EdgeInsetsGeometry? padding,
  13. int? flex,
  14. bool? visible,
  15. double? borderRadius,
  16. Color? backgroundColor,
  17. Style? style,
  18. double? gap,
  19. dynamic onTap()?,
  20. bool? expanded,
  21. Decoration? decoration,
  22. String? tag,
})

Implementation

CButton(
    {super.key,
    required this.text,
    this.onPressed,
    this.disabled,
    this.size,
    this.color,
    this.type,
    this.textColor,
    super.width,
    super.height,
    super.margin,
    super.padding,
    super.flex,
    super.visible,
    super.borderRadius,
    super.backgroundColor,
    super.style,
    super.gap,
    super.onTap,
    super.expanded,
    super.decoration,
    super.tag});