×

Modifier: Shadow

iOS 14 +

Notes

Add a shadow to a view. You can find more info at https://widgetpack.app/documentation

Syntax

modifierShadow(view: <#Object (View)#>, color: <#Object (View)#>, radius: <#Double#>, x: <#Double#>, y: <#Double#>)

Example

modifierShadow(view: View(identifier: "View1", displayString: "View One"), color: View(identifier: "View2", displayString: "View Two"), radius: 10, x: 0, y: 0)