CheckboxColors

constructor(checkedCheckmarkColor: Color, uncheckedCheckmarkColor: Color, checkedBoxColor: Color, uncheckedBoxColor: Color, disabledCheckedBoxColor: Color, disabledUncheckedBoxColor: Color, disabledIndeterminateBoxColor: Color, checkedBorderColor: Color, uncheckedBorderColor: Color, disabledBorderColor: Color, disabledUncheckedBorderColor: Color, disabledIndeterminateBorderColor: Color)

create an instance with arbitrary colors, see CheckboxDefaults.colors for the default implementation that follows Material specifications.

Parameters

checkedCheckmarkColor

color that will be used for the checkmark when checked

uncheckedCheckmarkColor

color that will be used for the checkmark when unchecked

checkedBoxColor

the color that will be used for the box when checked

uncheckedBoxColor

color that will be used for the box when unchecked

disabledCheckedBoxColor

color that will be used for the box when disabled and checked

disabledUncheckedBoxColor

color that will be used for the box when disabled and unchecked

disabledIndeterminateBoxColor

color that will be used for the box and border in a TriStateCheckbox when disabled AND in an ToggleableState.Indeterminate state.

checkedBorderColor

color that will be used for the border when checked

uncheckedBorderColor

color that will be used for the border when unchecked

disabledBorderColor

color that will be used for the border when disabled and checked

disabledUncheckedBorderColor

color that will be used for the border when disabled and unchecked

disabledIndeterminateBorderColor

color that will be used for the border when disabled and in an ToggleableState.Indeterminate state.