Sohu Tech Products
Feb 4, 2026 · Mobile Development
Why Flutter Text Gets Clipped Under Opacity/ShaderMask? Deep Dive into Skia Bounds Bug
The article explains a long‑standing Flutter bug where Text wrapped by Opacity or ShaderMask loses its descender glyphs on Android due to overly precise layer bounds calculated by Skia/FreeType, detailing how saveLayer, hinting, and glyph outline bounds interact, and offers practical workarounds to avoid the clipping.
AndroidFlutterOpacity
0 likes · 11 min read
