CustomText constructor
const
CustomText(
- String data, {
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- TextScaler? textScaler,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- Color? selectionColor,
- int? flex,
- Color? color,
- double? fontSize,
- double? letterSpacing = 0.5,
- FontWeight? fontWeight,
- TextDecoration? decoration = TextDecoration.none,
- Color? backgroundColor,
Implementation
const CustomText(super.data, {
super.key,
super.style,
super.strutStyle,
super.textAlign,
super.textDirection,
super.locale,
super.softWrap,
super.overflow,
super.textScaleFactor,
super.textScaler,
super.maxLines,
super.semanticsLabel,
super.textWidthBasis,
super.textHeightBehavior,
super.selectionColor,
this.flex,
this.color,
this.fontSize,
this.letterSpacing = 0.5,
this.fontWeight,
this.decoration = TextDecoration.none,
this.backgroundColor,
});