AlertDialogResponse

data class AlertDialogResponse(val id: String, val label: String, val appearance: ResponseAppearance = ResponseAppearance.DEFAULT, val isEnabled: Boolean = true)

Represents a response option (button) in an AlertDialog.

Constructors

Link copied to clipboard
constructor(id: String, label: String, appearance: ResponseAppearance = ResponseAppearance.DEFAULT, isEnabled: Boolean = true)

Properties

Link copied to clipboard
val appearance: ResponseAppearance

Visual style.

Link copied to clipboard
val id: String

Identifier for the response.

Link copied to clipboard
val isEnabled: Boolean = true

Whether the response is currently interactable.

Link copied to clipboard

The text shown in the button.