CheckboxGroupItem

data class CheckboxGroupItem<T>(val key: T, val label: String, val checked: Boolean = false, val enabled: Boolean = true)

Data class used for CheckboxGroup

Constructors

Link copied to clipboard
constructor(key: T, label: String, checked: Boolean = false, enabled: Boolean = true)

Create empty Checkbox group item

Properties

Link copied to clipboard
val checked: Boolean = false

is the item should be mark as checked or not

Link copied to clipboard
val enabled: Boolean = true

is the item is enable for selection

Link copied to clipboard
val key: T

item identifier

Link copied to clipboard

to be displayed in the group