
Make a shadow of your text SwiftUI 5.1
Text("Hello, World!").font(Font.custom("Rockwell-Regular", size: 50)) .shadow(color: Color.red, radius: 3, x: 5, y: 5)
The radius amount if increased causes the shadow to become more blurred.
When you change the x and y values that will change where the shadow is located in relation to the Text its shadowing.

