overflow property Null safety

TextOverflow overflow

How visual overflow should be handled.

Implementation

TextOverflow get overflow => _overflow;
void overflow=(TextOverflow value)

Implementation

set overflow(TextOverflow value) {
  assert(value != null);
  if (_overflow == value) {
    return;
  }
  _overflow = value;
  _textPainter.ellipsis = value == TextOverflow.ellipsis ? _kEllipsis : null;
  markNeedsLayout();
}