RawTextView constructor
const
RawTextView({
- Key? key,
- String? ellipsis,
- String? textFontFamily,
- FontStyle? textFontStyle,
- FontWeight? textFontWeight,
- double? letterSpacing,
- double? lineHeight,
- Locale? locale,
- int? maxLines,
- Color? selectionColor,
- String? semanticsLabel,
- bool? softWrap,
- StrutStyle? strutStyle,
- required String? text,
- TextAlign? textAlign,
- Color? textColor,
- TextDecoration? textDecoration,
- Color? textDecorationColor,
- TextDecorationStyle? textDecorationStyle,
- double? textDecorationThickness,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- TextLeadingDistribution? textLeadingDistribution,
- TextOverflow? textOverflow,
- double? textSize,
- List<
TextSpan> textSpans = const [], - TextStyle? textStyle,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- double? wordSpacing,
- OnViewClickListener? onClick,
- FontStyle? prefixFontStyle,
- FontWeight? prefixFontWeight,
- String? prefixText,
- Color? prefixTextColor,
- TextDecoration? prefixTextDecoration,
- Color? prefixTextDecorationColor,
- TextDecorationStyle? prefixTextDecorationStyle,
- double? prefixTextDecorationThickness,
- double? prefixTextLetterSpace,
- double? prefixTextSize,
- TextStyle? prefixTextStyle,
- bool prefixTextVisible = true,
- OnViewClickListener? onPrefixClick,
- FontStyle? suffixFontStyle,
- FontWeight? suffixFontWeight,
- String? suffixText,
- Color? suffixTextColor,
- TextDecoration? suffixTextDecoration,
- Color? suffixTextDecorationColor,
- TextDecorationStyle? suffixTextDecorationStyle,
- double? suffixTextDecorationThickness,
- double? suffixTextLetterSpace,
- double? suffixTextSize,
- TextStyle? suffixTextStyle,
- bool suffixTextVisible = true,
- OnViewClickListener? onSuffixClick,
Implementation
const RawTextView({
super.key,
this.ellipsis,
this.textFontFamily,
this.textFontStyle,
this.textFontWeight,
this.letterSpacing,
this.lineHeight,
this.locale,
this.maxLines,
this.selectionColor,
this.semanticsLabel,
this.softWrap,
this.strutStyle,
required this.text,
this.textAlign,
this.textColor,
this.textDecoration,
this.textDecorationColor,
this.textDecorationStyle,
this.textDecorationThickness,
this.textDirection,
this.textHeightBehavior,
this.textLeadingDistribution,
this.textOverflow,
this.textSize,
this.textSpans = const [],
this.textStyle,
this.textWidthBasis = TextWidthBasis.parent,
this.wordSpacing,
this.onClick,
///PREFIX
this.prefixFontStyle,
this.prefixFontWeight,
this.prefixText,
this.prefixTextColor,
this.prefixTextDecoration,
this.prefixTextDecorationColor,
this.prefixTextDecorationStyle,
this.prefixTextDecorationThickness,
this.prefixTextLetterSpace,
this.prefixTextSize,
this.prefixTextStyle,
this.prefixTextVisible = true,
this.onPrefixClick,
///SUFFIX
this.suffixFontStyle,
this.suffixFontWeight,
this.suffixText,
this.suffixTextColor,
this.suffixTextDecoration,
this.suffixTextDecorationColor,
this.suffixTextDecorationStyle,
this.suffixTextDecorationThickness,
this.suffixTextLetterSpace,
this.suffixTextSize,
this.suffixTextStyle,
this.suffixTextVisible = true,
this.onSuffixClick,
});