1. 28 Jun, 2023 1 commit
  2. 26 May, 2023 1 commit
    • LongCatIsLooong's avatar
      Move shared inline widget logic to `RenderInlineWidgetContainerDefaults` (#127308) · b5df180a
      LongCatIsLooong authored
      - Added `InlineWidgetContainerDefaults` for deduping inline widget code
      - Added a helper function `WidgetSpan.extractFromInlineSpan` for extracting `WidgetSpan`s and automatically applying text scaling (at widget level)
      - Removed `TextPainter.inlinePlaceholderScales`. I'm going to deprecate the `scale` argument in `TextPainter.addPlaceholder` next, as scaling is now done at the widget level.
      - Added runtime check and comments to make sure nobody is extending `PlaceholderSpan` directly (unfortunately we can't remove `PlaceholderSpan`  without moving RenderEditable and RenderParagraph to the widgets library).
      b5df180a
  3. 24 May, 2023 1 commit
    • LongCatIsLooong's avatar
      Improve `TextPainter.layout` caching (#118128) · 62e78bf1
      LongCatIsLooong authored
      Improves `TextPainter.layout` caching when only the input constraints change: 
      - removes the double layout calls in `TextPainter._layoutParagraph`: now double layout is only needed when `TextAlign` is not left, and the input `maxWidth == double.infinity`.  
      - skip calls to `ui.Paragraph.layout` when it's guaranteed that there's no soft line breaks before/after the layout call.
      
      This doesn't introduce new APIs but may slightly shift text rendered on screen.
      This reduces the number of `layout` calls but since shaping results are already cached so it only skips the relatively cheap line-breaking process when possible.
      
      528 scuba failures but all of them seem reasonable.
      62e78bf1
  4. 21 Apr, 2023 1 commit
  5. 24 Mar, 2023 1 commit
  6. 09 Mar, 2023 1 commit
  7. 06 Mar, 2023 2 commits
  8. 01 Mar, 2023 1 commit
    • chunhtai's avatar
      Issues/111931 reland (#121576) · 978d9b55
      chunhtai authored
      * Revert "Revert "Fix text.rich to merge widget span (#113461)" (#121562)"
      
      This reverts commit c8d80163.
      
      * Fixes tag to not pollute cached semantics configuration in rendering object
      978d9b55
  9. 28 Feb, 2023 1 commit
  10. 27 Feb, 2023 1 commit
  11. 23 Feb, 2023 1 commit
  12. 02 Feb, 2023 1 commit
  13. 31 Jan, 2023 1 commit
  14. 21 Oct, 2022 1 commit
  15. 06 Sep, 2022 1 commit
  16. 26 May, 2022 1 commit
  17. 24 Mar, 2022 1 commit
  18. 08 Oct, 2021 3 commits
  19. 11 Sep, 2021 1 commit
  20. 09 Aug, 2021 1 commit
  21. 28 Apr, 2021 1 commit
  22. 21 Apr, 2021 1 commit
  23. 14 Apr, 2021 1 commit
  24. 07 Apr, 2021 1 commit
  25. 04 Mar, 2021 2 commits
  26. 13 Nov, 2020 1 commit
  27. 12 Nov, 2020 1 commit
  28. 09 Nov, 2020 1 commit
  29. 22 Oct, 2020 1 commit
  30. 15 Oct, 2020 1 commit
  31. 30 Sep, 2020 1 commit
  32. 16 Sep, 2020 1 commit
  33. 06 Aug, 2020 1 commit
  34. 04 Aug, 2020 1 commit
  35. 31 Jul, 2020 1 commit
  36. 23 Jul, 2020 1 commit