radioButtonFieldColors

fun radioButtonFieldColors(labelColor: Color = Color.Unspecified, textColor: Color = Color.Unspecified, supportingTextColor: Color = Color.Unspecified, outlineColor: Color = MaterialTheme.colorScheme.outline, selectedColor: Color = MaterialTheme.colorScheme.primary, unselectedColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, disabledSelectedColor: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), disabledUnselectedColor: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f)): RadioButtonFieldColors

Creates an instance of RadioButtonFieldColors with default values from MaterialTheme.

Since

200.5.0

Parameters

labelColor

the color used for the label of this field.

textColor

the color used for the text of RadioButton.

supportingTextColor

the color used for the supporting text of this field.

outlineColor

the color used for the outline of this field.

selectedColor

the color to use for the RadioButton when selected and enabled.

unselectedColor

the color to use for the RadioButton when unselected and enabled.

disabledSelectedColor

the color to use for the RadioButton when disabled and selected.

disabledUnselectedColor

the color to use for the RadioButton when disabled and not selected.