richText property
Text
get
richText
Implementation
Text get richText {
if (textSpan == null) {
return text;
} else {
return Text.rich(
textSpan!,
key: Key('Text.rich$_key'),
style: style,
textAlign: textAlign,
textDirection: textDirection,
locale: locale,
softWrap: softWrap,
overflow: overflow,
textScaleFactor: textScaleFactor,
maxLines: maxLines,
semanticsLabel: semanticsLabel,
textWidthBasis: textWidthBasis,
textHeightBehavior: textHeightBehavior,
);
}
}