overflow property Null safety
How visual overflow should be handled.
Implementation
TextOverflow get overflow => _overflow;
Implementation
set overflow(TextOverflow value) {
assert(value != null);
if (_overflow == value) {
return;
}
_overflow = value;
_textPainter.ellipsis = value == TextOverflow.ellipsis ? _kEllipsis : null;
markNeedsLayout();
}