Interface

RadioButtonColors

Represents the content colors used in RadioButton in different states.

Source set: Android
public interface RadioButtonColors

Represents the content colors used in RadioButton in different states.

Functions

ringColor

@Composable public fun ringColor(enabled: Boolean, selected: Boolean): State<Color>

Represents the outer ring color for this RadioButton, depending on the enabled and selected properties.

Parameters

enabled Whether the RadioButton is enabled
selected Whether the RadioButton is currently selected or unselected

dotColor

@Composable public fun dotColor(enabled: Boolean, selected: Boolean): State<Color>

Represents the inner dot color for this RadioButton, depending on the enabled and selected properties.

Parameters

enabled Whether the RadioButton is enabled
selected Whether the RadioButton is currently selected or unselected

Last updated: