public object RemoteRadioButtonDefaults
Contains the default values used by RemoteRadioButton.
Properties
Height
public val Height: RemoteDp = 52.rdp
The default height of RemoteRadioButton.
IconSpacing
public val IconSpacing: RemoteDp = 6.rdp
The default spacing between an icon and label in RemoteRadioButton.
IconSize
public val IconSize: RemoteDp = 24.rdp
The recommended default size for icons when used inside RemoteRadioButton.
LabelSpacerSize
public val LabelSpacerSize: RemoteDp = 1.rdp
The default spacing between label and secondary label in RemoteRadioButton.
ContentPadding
public val ContentPadding: RemotePaddingValues =
RemotePaddingValues(horizontal = 14.rdp, vertical = 8.rdp)
The default content padding used by RemoteRadioButton.
radioButtonShape
public val radioButtonShape: RemoteRoundedCornerShape
The default shape for RemoteRadioButton.
CircleRadius
public val CircleRadius: RemoteDp = 9.rdp
The outer radius of the radio button ring.
CircleStroke
public val CircleStroke: RemoteDp = 2.rdp
The stroke width of the radio button ring.
DotRadius
public val DotRadius: RemoteDp = 5.rdp
The radius of the inner dot when selected.
ControlSize
public val ControlSize: RemoteDp = 24.rdp
The outer size of the radio button control.
Functions
radioButtonColors
@Composable
public fun radioButtonColors(): RemoteRadioButtonColors
Creates a RemoteRadioButtonColors with default values for RemoteRadioButton.
radioButtonColors
@Composable
public fun radioButtonColors(
selectedContainerColor: RemoteColor? = null,
selectedContentColor: RemoteColor? = null,
selectedSecondaryContentColor: RemoteColor? = null,
selectedIconColor: RemoteColor? = null,
selectedControlColor: RemoteColor? = null,
unselectedContainerColor: RemoteColor? = null,
unselectedContentColor: RemoteColor? = null,
unselectedSecondaryContentColor: RemoteColor? = null,
unselectedIconColor: RemoteColor? = null,
unselectedControlColor: RemoteColor? = null,
disabledSelectedContainerColor: RemoteColor? = null,
disabledSelectedContentColor: RemoteColor? = null,
disabledSelectedSecondaryContentColor: RemoteColor? = null,
disabledSelectedIconColor: RemoteColor? = null,
disabledSelectedControlColor: RemoteColor? = null,
disabledUnselectedContainerColor: RemoteColor? = null,
disabledUnselectedContentColor: RemoteColor? = null,
disabledUnselectedSecondaryContentColor: RemoteColor? = null,
disabledUnselectedIconColor: RemoteColor? = null,
disabledUnselectedControlColor: RemoteColor? = null,
): RemoteRadioButtonColors
Creates a RemoteRadioButtonColors with customized colors for RemoteRadioButton.
Parameters
| selectedContainerColor | Container color when selected and enabled. |
| selectedContentColor | Content color when selected and enabled. |
| selectedSecondaryContentColor | Secondary content color when selected and enabled. |
| selectedIconColor | Icon color when selected and enabled. |
| selectedControlColor | Control color when selected and enabled. |
| unselectedContainerColor | Container color when unselected and enabled. |
| unselectedContentColor | Content color when unselected and enabled. |
| unselectedSecondaryContentColor | Secondary content color when unselected and enabled. |
| unselectedIconColor | Icon color when unselected and enabled. |
| unselectedControlColor | Control color when unselected and enabled. |
| disabledSelectedContainerColor | Container color when selected and disabled. |
| disabledSelectedContentColor | Content color when selected and disabled. |
| disabledSelectedSecondaryContentColor | Secondary content color when selected and disabled. |
| disabledSelectedIconColor | Icon color when selected and disabled. |
| disabledSelectedControlColor | Control color when selected and disabled. |
| disabledUnselectedContainerColor | Container color when unselected and disabled. |
| disabledUnselectedContentColor | Content color when unselected and disabled. |
| disabledUnselectedSecondaryContentColor | Secondary content color when unselected and disabled. |
| disabledUnselectedIconColor | Icon color when unselected and disabled. |
| disabledUnselectedControlColor | Control color when unselected and disabled. |