text property
Text
get
text
Returns the text with the applied TextStyle
.
Implementation
Text get text => Text(_text.data!,
textAlign: _text.textAlign,
locale: _text.locale,
softWrap: _text.softWrap,
// textScaleFactor has to be 1 for correct results.
// Manager.solution() takes care of that.
textScaleFactor: _text.textScaleFactor,
// maxLines: isOneLine ? 1 : null,
semanticsLabel: _text.semanticsLabel,
strutStyle: _text.strutStyle,
textWidthBasis: _text.textWidthBasis,
textDirection: _text.textDirection,
style: style);