RadioButtonDefaults
object RadioButtonDefaults
Contains the default values used by RadioButton.
Summary
Public functions |
|
|---|---|
RadioButtonColors |
Creates a default |
RadioButtonColors |
Creates a |
RadioButtonColors |
colors(checkedColor: ColorProvider, uncheckedColor: ColorProvider)Creates a |
Public functions
colors
@Composable
fun colors(): RadioButtonColors
Creates a default RadioButtonColors
| Returns | |
|---|---|
RadioButtonColors |
default |
colors
fun colors(checkedColor: Color, uncheckedColor: Color): RadioButtonColors
Creates a RadioButtonColors using FixedColorProviders for the given colors.
| Parameters | |
|---|---|
checkedColor: Color |
the |
uncheckedColor: Color |
the |
| Returns | |
|---|---|
RadioButtonColors |
|
colors
fun colors(checkedColor: ColorProvider, uncheckedColor: ColorProvider): RadioButtonColors
Creates a RadioButtonColors using ColorProviders.
| Parameters | |
|---|---|
checkedColor: ColorProvider |
the tint to apply to the radio button when it is checked. |
uncheckedColor: ColorProvider |
the tint to apply to the radio button when it is not checked. |
| Returns | |
|---|---|
RadioButtonColors |
|