🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

checked

Defines a Style to be applied when the component is StyleState.isChecked is true.

checked

Source set: Common
public fun StyleStateScope.checked(block: () -> Unit): Unit

Defines a Style to be applied when the component is StyleState.isChecked is true. The properties within the provided block will override or merge with the base style of the component when a toggle interaction is detected.