Hi, how can i draw this shadow in compose? this s...
# compose
j
Hi, how can i draw this shadow in compose? this shadow info in figma
t
Adding elevation to a Card should make the shadows for you
c
We solved this by creating a modifier which draws the shadow into the canvas.
2
c
You can also wrap your composable in a
Surface
which has elevation as a parameter. If you only need the shadow in a specific direction such as bottom, I would recommend using the canvas to do that.