Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

triStateToggleOff

Defines a Style to be applied when the component is StyleState.triStateToggle is ToggleableState.Off.

triStateToggleOff

Source set: Common
@ExperimentalFoundationStyleApi
fun StyleStateScope.triStateToggleOff(block: () -> Unit)

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

Parameters

block The Style to apply on press.

Last updated: