RadioGroupItem

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

Data class used for RadioButtonGroup

Parameters

T

The type of the key used to uniquely identify each radio button item.

Constructors

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

Properties

Link copied to clipboard

can be used to provide clarification for the option.

Link copied to clipboard

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.