RadioButtonColors


interface RadioButtonColors


Represents the content colors used in RadioButton in different states.

Summary

Public functions

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

Represents the inner dot color for this RadioButton, depending on the enabled and selected properties.

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

Represents the outer ring color for this RadioButton, depending on the enabled and selected properties.

Public functions

dotColor

Added in 1.1.0
@Composable
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: Boolean

Whether the RadioButton is enabled

selected: Boolean

Whether the RadioButton is currently selected or unselected

ringColor

Added in 1.1.0
@Composable
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: Boolean

Whether the RadioButton is enabled

selected: Boolean

Whether the RadioButton is currently selected or unselected