RadioButtonColors

Interface

Android
public interface RadioButtonColors

Represents the content colors used in RadioButton in different states.

Functions

@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

enabledWhether the RadioButton is enabled
selectedWhether the RadioButton is currently selected or unselected
@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

enabledWhether the RadioButton is enabled
selectedWhether the RadioButton is currently selected or unselected