RawTextView constructor

const RawTextView({
  1. Key? key,
  2. String? ellipsis,
  3. String? textFontFamily,
  4. FontStyle? textFontStyle,
  5. FontWeight? textFontWeight,
  6. double? letterSpacing,
  7. double? lineHeight,
  8. Locale? locale,
  9. int? maxLines,
  10. Color? selectionColor,
  11. String? semanticsLabel,
  12. bool? softWrap,
  13. StrutStyle? strutStyle,
  14. required String? text,
  15. TextAlign? textAlign,
  16. Color? textColor,
  17. TextDecoration? textDecoration,
  18. Color? textDecorationColor,
  19. TextDecorationStyle? textDecorationStyle,
  20. double? textDecorationThickness,
  21. TextDirection? textDirection,
  22. TextHeightBehavior? textHeightBehavior,
  23. TextLeadingDistribution? textLeadingDistribution,
  24. TextOverflow? textOverflow,
  25. double? textSize,
  26. List<TextSpan> textSpans = const [],
  27. TextStyle? textStyle,
  28. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  29. double? wordSpacing,
  30. OnViewClickListener? onClick,
  31. FontStyle? prefixFontStyle,
  32. FontWeight? prefixFontWeight,
  33. String? prefixText,
  34. Color? prefixTextColor,
  35. TextDecoration? prefixTextDecoration,
  36. Color? prefixTextDecorationColor,
  37. TextDecorationStyle? prefixTextDecorationStyle,
  38. double? prefixTextDecorationThickness,
  39. double? prefixTextLetterSpace,
  40. double? prefixTextSize,
  41. TextStyle? prefixTextStyle,
  42. bool prefixTextVisible = true,
  43. OnViewClickListener? onPrefixClick,
  44. FontStyle? suffixFontStyle,
  45. FontWeight? suffixFontWeight,
  46. String? suffixText,
  47. Color? suffixTextColor,
  48. TextDecoration? suffixTextDecoration,
  49. Color? suffixTextDecorationColor,
  50. TextDecorationStyle? suffixTextDecorationStyle,
  51. double? suffixTextDecorationThickness,
  52. double? suffixTextLetterSpace,
  53. double? suffixTextSize,
  54. TextStyle? suffixTextStyle,
  55. bool suffixTextVisible = true,
  56. 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,
});