fun Modifier.allowsHitTesting(enabled: Boolean): ModifierOverview
Modifier.allowsHitTesting(enabled = true)This is the Kotlin form of SwiftUI View.allowsHitTesting(_:): SwiftUI documentation. In Swift it reads:
nonisolated func allowsHitTesting(_ enabled: Bool) -> some ViewTopics
Overloads
fun Modifier.allowsHitTesting(enabled: Boolean): Modifier