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

Link copied to clipboard

the default vibrants from the theme's color scheme of checkbox.

@Composable
fun checkboxVibrants(backgroundVibrant: Vibrant = Vibrant.Unspecified, contentVibrant: Vibrant = Vibrant.Unspecified, borderVibrant: Vibrant = Vibrant.Unspecified): CheckboxVibrants

Creates a CheckboxVibrants that represents the default vibrants used in a Checkbox.