wordBreak property
Implementation
@override
WordBreak get wordBreak {
if (_wordBreak == null && parent != null) {
return parent!.wordBreak;
}
return _wordBreak ?? WordBreak.normal;
}
set
wordBreak
(WordBreak? value)
Implementation
set wordBreak(WordBreak? value) {
if (_wordBreak == value) return;
_wordBreak = value;
// Text-related inherited property affects text layout of descendants
_markChildrenTextNeedsLayout(this, 'wordBreak');
}