UIText constructor
const
UIText(
- String text, {
- Key? key,
- bool autoLocalize = true,
- bool shrinkUrl = false,
- bool enableHashTag = false,
- bool enableMention = false,
- TextStyle? linkStyle,
- TextStyle? highlightedLinkStyle,
- double? height,
- Color? linkColor,
- Color? highlightedColor,
- void onTap(
- String value
- void onLongPress(
- String value
- TextStyle? style,
- Color? color,
- FontWeight? fontWeight,
- double? fontSize,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- double? textScaleFactor,
- int? maxLines,
- 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);