RadioGroupItem

data class RadioGroupItem<T>(val key: T, val label: String, val enabled: Boolean = true, val caption: String? = null)

Data class used for RadioButtonGroup

Constructors

Link copied to clipboard
constructor(key: T, label: String, enabled: Boolean = true, caption: String? = null)

Properties

Link copied to clipboard
val caption: String? = null

can be used to provide clarification for the option.

Link copied to clipboard
val enabled: Boolean = true

Controls the enabled state of the RadioButton. When false, this button will not be selectable and appears in the disabled ui state.

Link copied to clipboard
val key: T

A unique identifier for the radio button item.

Link copied to clipboard

The text to be displayed together with radio button component.