UIText constructor

const UIText(
  1. String text, {
  2. Key? key,
  3. bool autoLocalize = true,
  4. bool shrinkUrl = false,
  5. bool enableHashTag = false,
  6. bool enableMention = false,
  7. TextStyle? linkStyle,
  8. TextStyle? highlightedLinkStyle,
  9. double? height,
  10. Color? linkColor,
  11. Color? highlightedColor,
  12. void onTap(
    1. String value
    )?,
  13. void onLongPress(
    1. String value
    )?,
  14. TextStyle? style,
  15. Color? color,
  16. FontWeight? fontWeight,
  17. double? fontSize,
  18. StrutStyle? strutStyle,
  19. TextAlign? textAlign,
  20. TextDirection? textDirection,
  21. double? textScaleFactor,
  22. int? maxLines,
  23. TextWidthBasis? textWidthBasis,
})

Widget which extended Text for Path

Implementation

const UIText(
  this.text, {
  Key? key,
  this.autoLocalize = true,
  this.shrinkUrl = false,
  this.enableHashTag = false,
  this.enableMention = false,
  this.linkStyle,
  this.highlightedLinkStyle,
  this.height,
  this.linkColor,
  this.highlightedColor,
  this.onTap,
  this.onLongPress,
  this.style,
  this.color,
  this.fontWeight,
  this.fontSize,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.textScaleFactor,
  this.maxLines,
  this.textWidthBasis,
}) : super(key: key);