CText constructor

CText(
  1. String text, {
  2. Key? key,
  3. double? width,
  4. double? height,
  5. EdgeInsetsGeometry? margin,
  6. EdgeInsetsGeometry? padding,
  7. TextStyle? textStyle,
  8. Border? border,
  9. int? flex,
  10. Style? style,
  11. dynamic onTap()?,
  12. Widget? icon,
  13. Widget? rearIcon,
  14. Color? backgroundColor,
  15. bool? expanded,
  16. Decoration? decoration,
  17. bool? visible,
  18. double? borderRadius,
  19. TextOverflow? overflow,
  20. int? maxLines,
  21. bool? softWrap,
  22. double? iconMargin,
  23. double? rearIconMargin,
  24. Alignment? alignment,
  25. String? tag,
  26. TextAlign? textAlign,
})

Implementation

CText(this.text,
    {super.key,
    super.width,
    super.height,
    super.margin,
    super.padding,
    this.textStyle,
    super.border,
    super.flex,
    super.style,
    super.onTap,
    super.icon,
    super.rearIcon,
    super.backgroundColor,
    super.expanded,
    super.decoration,
    super.visible,
    super.borderRadius,
    this.overflow,
    this.maxLines,
    this.softWrap,
    super.iconMargin,
    super.rearIconMargin,
    super.alignment,
    super.tag,
    this.textAlign});