RadioButtonColors
Kotlin
|Java
@Stable interface RadioButtonColors
androidx.compose.material.RadioButtonColors |
Represents the color used by a RadioButton in different states.
See RadioButtonDefaults.colors for the default implementation that follows Material specifications.
Summary
Public methods | |
---|---|
abstract State<Color> |
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. |
Public methods
radioColor
@Composable abstract 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 |