Join Slack
Powered by
Hi, how do I draw a shadow of an TextField with a ...
# compose
a
Ayfri
06/08/2023, 1:27 PM
Hi, how do I draw a shadow of an TextField with a RoundedCornerShape ? When I try with
Modifier.shadow()
I get a rectangle shadow
j
Josh Eldridge
06/08/2023, 6:56 PM
Does using the clip modifier help at all?
s
Stylianos Gakis
06/08/2023, 9:22 PM
Shadow seems to accept a shape parameter, try passing the shape that you want the shadow to have in there
a
Ayfri
06/08/2023, 9:54 PM
Thanks !
Open in Slack
Previous
Next