softWrap property Null safety
Whether the text should break at soft line breaks.
If false, the glyphs in the text will be positioned as if there was unlimited horizontal space.
If softWrap is false, overflow and textAlign may have unexpected effects.
Implementation
bool get softWrap => _softWrap;
Implementation
set softWrap(bool value) {
assert(value != null);
if (_softWrap == value) {
return;
}
_softWrap = value;
markNeedsLayout();
}