flutter - Text Visual Glitches on iOS - Stack Overflow

admin2025-04-17  0

Flutter v3.27.1

I've recently been encountering strange glitches with text rendering on iOS devices in my Flutter application. This issue does not occur on Android.

  • They sometimes appear and sometimes don't.
  • They may affect some text while leaving other text unaffected.
  • Once they start happening on one screen, they often show up on others. For example, screen A may be fine at first, but after the glitch appears elsewhere, returning to screen A shows the issue there as well.

This happens across multiple iOS devices and versions, so it doesn't seem tied to a specific model.


What I’ve Tried

  • Replaced the font files entirely.
  • Switched the font source.
  • Happens to all the font families I am using:
    • Inter
    • Chivo Mono
    • Impact
  • Cleaned and rebuilt the Flutter project.
  • Tested in both debug and release builds.
  • Removed letter spacing everywhere

Any pointers on how to solve this or where to even start looking would be highly appreciated.

Example 1

Example 2

Example 3

Example 4

Example 5

Example 6

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1744857594a270920.html

最新回复(0)