INNER CODE UNIT · Dart
lineCenter
fluttercandies/extended_text · lib/src/extended/text_overflow_mixin.dart:652
lineCenter = lineTop + line.height / 2;
overflowWidgetRects.add(Rect.fromLTRB(
textWidth - overflowWidgetSize.width,
lineCenter - overflowWidgetSize.height / 2,
textWidth,
lineCenter + overflowWidgetSize.height / 2,
));
}
break;
}
return overflowWidgetRects;
}
void _setOverflowRect(TextOverflowPosition position) {
_overflowClipTextRects = <ui.Rect>[];
_overflowRects = <ui.Rect>[];
_overflowSelections = <_TextRange>[];
final List<ui.Rect> overflowWidgetRects = _getOverflowRect(position);