fun Modifier.shadow(color: Color? = null, radius: Double, x: Double = 0.0, y: Double = 0.0): ModifierOverview
Modifier.shadow(radius = 0.0)This is the Kotlin form of SwiftUI View.shadow(color:radius:x:y:): SwiftUI documentation. In Swift it reads:
nonisolated func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some ViewTopics
Overloads
fun Modifier.shadow(color: Color? = null, radius: Double, x: Double = 0.0, y: Double = 0.0): Modifier