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

Source set: Android
@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

Source set: Android
@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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: