RadioButtonColors


Represents the color used by a RadioButton in different states.

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

Summary

Public functions

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

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

Cmn

Public functions

radioColor

@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
enabled: Boolean

whether the RadioButton is enabled

selected: Boolean

whether the RadioButton is selected