RadioButtonColors

Interface

Common
interface RadioButtonColors

Represents the color used by a RadioButton in different states.

See RadioButtonDefaults.colors for the default implementation that follows Material specifications.

Functions

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

Represents the main color used to draw the outer and inner circles, depending on whether the RadioButton is enabled / selected.

Parameters

enabledwhether the RadioButton is enabled
selectedwhether the RadioButton is selected