API reference
API reference
Select your platform
No SDKs available
No versions available

RadioButtonDefaults Object

Defaults used in null.SpatialRadioButton.

Signature

object RadioButtonDefaults

Functions

colors ()
Creates a RadioButtonColors that will animate between the provided colors.
Signature
fun colors(): RadioButtonColors
colors ( selectedColor , selectedDotColor , unselectedColor , disabledSelectedColor , disabledSelectedDotColor , disabledUnselectedColor )
Creates a RadioButtonColors that will animate between the provided colors.
Signature
fun colors(selectedColor: Color, selectedDotColor: Color, unselectedColor: Color, disabledSelectedColor: Color, disabledSelectedDotColor: Color, disabledUnselectedColor: Color): RadioButtonColors
Parameters
selectedColor: Color
  the color to use for the RadioButton when selected and enabled.
selectedDotColor: Color
  the color to use for the RadioButton's inner dot when selected and enabled.
unselectedColor: Color
  the color to use for the RadioButton when unselected and enabled.
disabledSelectedColor: Color
  the color to use for the RadioButton when disabled and selected.
disabledSelectedDotColor: Color
  the color to use for the RadioButton's inner dot when disabled and selected.
disabledUnselectedColor: Color
  the color to use for the RadioButton when disabled and not selected.
Returns
  the resulting RadioButtonColors used for the RadioButton
Did you find this page helpful?