RawText constructor
const
RawText({
- Key? key,
- int? maxCharacters,
- int? maxLines,
- double? letterSpacing,
- double? lineHeight,
- double? wordSpacing,
- String? fontFamily,
- FontStyle? fontStyle,
- FontWeight? fontWeight,
- required String? text,
- TextAlign? textAlign,
- Color? textColor,
- TextDecoration? textDecoration,
- Color? textDecorationColor,
- TextDecorationStyle? textDecorationStyle,
- double? textDecorationThickness,
- TextDirection? textDirection,
- TextLeadingDistribution? textLeadingDistribution,
- TextOverflow? textOverflow,
- double textSize = 14,
- List<
TextSpan> textSpans = const [], - TextStyle textStyle = const TextStyle(),
Implementation
const RawText({
super.key,
this.maxCharacters,
this.maxLines,
this.letterSpacing,
this.lineHeight,
this.wordSpacing,
this.fontFamily,
this.fontStyle,
this.fontWeight,
required this.text,
this.textAlign,
this.textColor,
this.textDecoration,
this.textDecorationColor,
this.textDecorationStyle,
this.textDecorationThickness,
this.textDirection,
this.textLeadingDistribution,
this.textOverflow,
this.textSize = 14,
this.textSpans = const [],
this.textStyle = const TextStyle(),
});