CText constructor
CText(
- String text, {
- Key? key,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- TextStyle? textStyle,
- Border? border,
- int? flex,
- Style? style,
- dynamic onTap()?,
- Widget? icon,
- Widget? rearIcon,
- Color? backgroundColor,
- bool? expanded,
- Decoration? decoration,
- bool? visible,
- double? borderRadius,
- TextOverflow? overflow,
- int? maxLines,
- bool? softWrap,
- double? iconMargin,
- double? rearIconMargin,
- Alignment? alignment,
- String? tag,
- 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});