• LongCatIsLooong's avatar
    Fix Caret Height On Empty Lines (#120834) · 1306d7f1
    LongCatIsLooong authored
    * improve caret caching, fix caret for empty text/line, `getLocalRectForCaret` now reports the real rect that will be painted.
    move caret x-coordinate clamping to RenderEditable since TextPainter doesn't know about clipping.
    
    * comments
    
    * review
    1306d7f1
widget_span.dart 6.65 KB