I'm trying to create Card shadows using drawWithCo...
# compose
m
I'm trying to create Card shadows using drawWithContent but I cannot figure out how to draw rectangles around my content. Is there a way to do so ? I've tried using offsets but the rectangles get cropped. (I don't want to use the standard shadow modifier as we don't have control over the spread and blur)
t
Didn't know the exact thing you're asking, But I hope this one can get you started https://gist.github.com/cedrickring/0497965b0658d6727aaec531f59e8c5c
m
@TheDukerChip Awesome thanks