I'm a little stuck at the moment. I would like to draw a round shadow without giving the corresponding view an actual color. My idea was the following:
Circle()
.fill(Color.clear)
.shadow(color: .red, radius: 10)
Unfortunately, the system only seems to draw shadows for views that also have a color and relates to the opacity value of that view.
Does anyone know a way around this. I would be grateful for any tip.