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