I want do display images with an exact shadow using Compose (and Coil).
This is the desired shadow:
However, the shadow modifier only adds a shadow around the image bounds.
AsyncImage(
modifier = Modifier.shadow(elevation = 4.dp),
model = "http://my.image.url",
)
How can I achieve the shadow above using Compose?