Check Box Block
fun CheckBoxBlock(orientation: Orientation, content: List<CheckBoxData>, modifier: Modifier = Modifier, onItemChange: (CheckBoxData) -> Unit)
DHIS2 check box block.
Parameters
orientation
: Controls how the check boxes will be displayed, HORIZONTAL for rows or VERTICAL for columns.
content
: Contains all the data that will be displayed, the list type is CheckBoxData, this data class contains all data for CheckBox composable.
on Item Change
: is a callback to notify which item has changed into the block.
modifier
: optional modifier.