CText constructor
const
CText({
- Key? key,
- required String data,
- bool enable = true,
- bool isRequired = false,
- TextStyle? style,
- TextStyle? disableStyle,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
Implementation
const CText({
Key? key,
required this.data,
this.enable = true,
this.isRequired = false,
this.style,
this.disableStyle,
this.strutStyle,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.overflow,
this.textScaleFactor,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
this.textHeightBehavior,
}) : super(key: key);