overflow property
How visual overflow should be handled.
Implementation
@override
TextOverflow get overflow => _overflow;
Implementation
set overflow(TextOverflow value) {
final TextOverflow temp =
overflowWidget != null ? TextOverflow.clip : value;
if (_overflow == temp) {
return;
}
_overflow = temp;
textPainter.ellipsis = value == TextOverflow.ellipsis ? _kEllipsis : null;
markNeedsTextLayout();
}