CheckBoxDefaults

Contains the default values used by CheckBox.

Properties

Link copied to clipboard
val BorderWidth: Dp

Border width of check box.

Link copied to clipboard
val CheckboxSize: Dp

Size of check box.

Link copied to clipboard

A pre-defined size for check box.

Link copied to clipboard

Regular content size of check box.

Link copied to clipboard

A pre-defined size for check box.

Link copied to clipboard

Small content size of check box.

Functions

Link copied to clipboard
@Composable
fun checkboxColors(): CheckboxColor

The default colors from the theme's color scheme of checkbox.

@Composable
fun checkboxColors(backgroundColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, borderColor: Color = Color.Unspecified): CheckboxColor

Creates a CheckboxColor that represents the default container and content colors used in a Checkbox.

Link copied to clipboard
fun checkBoxSize(value: Dp = Dp.Unspecified): CheckboxContentSize

Creates a CheckboxContentSize that presents sizes used by Checkbox.