https://kotlinlang.org logo
#compose
Title
# compose
z

Zoltan Demant

11/27/2023, 10:01 AM
Is
SpanStyle.shadow
only for newer API:s? There is no mention of this in the docs (from what I can tell at least) but Im not seeing any shadows on earlier API levels.
Copy code
SpanStyle(
    shadow = Shadow(blurRadius = 8f),
    color = Transparent,
),
== Just transparent on earlier API:s whereas on newer ones it produces a nice blur effect for text.