KPBottomSheetCheckboxItem
A composable function that creates a checkbox item with a text label and optional description for a bottom sheet.
Parameters
A boolean value that determines whether the checkbox is checked.
The text label to be displayed next to the checkbox.
A lambda function to be invoked when the checked state changes.
A Modifier
for styling and layout customization. Default is Modifier
.
A boolean value indicating whether an icon should be displayed next to the text. Default is false
.
A TextStyle
for customizing the appearance of the text label. Default is KPDesign.typography.titleMediumColorOnSurfaceVariant3
.
An IconSize
for customizing the size of the info icon. Default is KPIconSize.XSmall
.
An optional description text to be displayed below the label. Default is an empty string.
A TextStyle
for customizing the appearance of the description text. Default is KPDesign.typography.body1ColorOnSurfaceVariant1
.