class AlertOverview
This is the Kotlin form of SwiftUI Alert: SwiftUI documentation. In Swift it reads:
struct AlertTopics
Initializers
constructor(title: String, message: String? = null, dismissButton: Alert.Button? = null)
constructor(title: String, message: String? = null, primaryButton: Alert.Button, secondaryButton: Alert.Button)
Methods
fun sideBySideButtons(title: String, message: String? = null, primaryButton: Alert.Button, secondaryButton: Alert.Button): Alert
fun destructive(label: String): Alert.Button
fun cancel(label: String): Alert.Button
fun cancel(): Alert.Button
fun default(label: String): Alert.Button
Types
class Alert
class Button