RemoteRadioButtonDefaults

object RemoteRadioButtonDefaults


Contains the default values used by RemoteRadioButton.

Summary

Public functions

RemoteRadioButtonColors

Creates a RemoteRadioButtonColors with default values for RemoteRadioButton.

RemoteRadioButtonColors
@Composable
radioButtonColors(
    selectedContainerColor: RemoteColor?,
    selectedContentColor: RemoteColor?,
    selectedSecondaryContentColor: RemoteColor?,
    selectedIconColor: RemoteColor?,
    selectedControlColor: RemoteColor?,
    unselectedContainerColor: RemoteColor?,
    unselectedContentColor: RemoteColor?,
    unselectedSecondaryContentColor: RemoteColor?,
    unselectedIconColor: RemoteColor?,
    unselectedControlColor: RemoteColor?,
    disabledSelectedContainerColor: RemoteColor?,
    disabledSelectedContentColor: RemoteColor?,
    disabledSelectedSecondaryContentColor: RemoteColor?,
    disabledSelectedIconColor: RemoteColor?,
    disabledSelectedControlColor: RemoteColor?,
    disabledUnselectedContainerColor: RemoteColor?,
    disabledUnselectedContentColor: RemoteColor?,
    disabledUnselectedSecondaryContentColor: RemoteColor?,
    disabledUnselectedIconColor: RemoteColor?,
    disabledUnselectedControlColor: RemoteColor?
)

Creates a RemoteRadioButtonColors with customized colors for RemoteRadioButton.

Public properties

RemoteDp

The outer radius of the radio button ring.

RemoteDp

The stroke width of the radio button ring.

RemotePaddingValues

The default content padding used by RemoteRadioButton.

RemoteDp

The outer size of the radio button control.

RemoteDp

The radius of the inner dot when selected.

RemoteDp

The default height of RemoteRadioButton.

RemoteDp

The recommended default size for icons when used inside RemoteRadioButton.

RemoteDp

The default spacing between an icon and label in RemoteRadioButton.

RemoteDp

The default spacing between label and secondary label in RemoteRadioButton.

RemoteRoundedCornerShape

The default shape for RemoteRadioButton.

Public functions

radioButtonColors

Added in 1.0.0-alpha12
@Composable
fun radioButtonColors(): RemoteRadioButtonColors

Creates a RemoteRadioButtonColors with default values for RemoteRadioButton.

radioButtonColors

Added in 1.0.0-alpha12
@Composable
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: RemoteColor? = null

Container color when selected and enabled.

selectedContentColor: RemoteColor? = null

Content color when selected and enabled.

selectedSecondaryContentColor: RemoteColor? = null

Secondary content color when selected and enabled.

selectedIconColor: RemoteColor? = null

Icon color when selected and enabled.

selectedControlColor: RemoteColor? = null

Control color when selected and enabled.

unselectedContainerColor: RemoteColor? = null

Container color when unselected and enabled.

unselectedContentColor: RemoteColor? = null

Content color when unselected and enabled.

unselectedSecondaryContentColor: RemoteColor? = null

Secondary content color when unselected and enabled.

unselectedIconColor: RemoteColor? = null

Icon color when unselected and enabled.

unselectedControlColor: RemoteColor? = null

Control color when unselected and enabled.

disabledSelectedContainerColor: RemoteColor? = null

Container color when selected and disabled.

disabledSelectedContentColor: RemoteColor? = null

Content color when selected and disabled.

disabledSelectedSecondaryContentColor: RemoteColor? = null

Secondary content color when selected and disabled.

disabledSelectedIconColor: RemoteColor? = null

Icon color when selected and disabled.

disabledSelectedControlColor: RemoteColor? = null

Control color when selected and disabled.

disabledUnselectedContainerColor: RemoteColor? = null

Container color when unselected and disabled.

disabledUnselectedContentColor: RemoteColor? = null

Content color when unselected and disabled.

disabledUnselectedSecondaryContentColor: RemoteColor? = null

Secondary content color when unselected and disabled.

disabledUnselectedIconColor: RemoteColor? = null

Icon color when unselected and disabled.

disabledUnselectedControlColor: RemoteColor? = null

Control color when unselected and disabled.

Public properties

CircleRadius

Added in 1.0.0-alpha12
val CircleRadiusRemoteDp

The outer radius of the radio button ring.

CircleStroke

Added in 1.0.0-alpha12
val CircleStrokeRemoteDp

The stroke width of the radio button ring.

ContentPadding

Added in 1.0.0-alpha12
val ContentPaddingRemotePaddingValues

The default content padding used by RemoteRadioButton.

ControlSize

Added in 1.0.0-alpha12
val ControlSizeRemoteDp

The outer size of the radio button control.

DotRadius

Added in 1.0.0-alpha12
val DotRadiusRemoteDp

The radius of the inner dot when selected.

Height

Added in 1.0.0-alpha12
val HeightRemoteDp

The default height of RemoteRadioButton.

IconSize

Added in 1.0.0-alpha12
val IconSizeRemoteDp

The recommended default size for icons when used inside RemoteRadioButton.

IconSpacing

Added in 1.0.0-alpha12
val IconSpacingRemoteDp

The default spacing between an icon and label in RemoteRadioButton.

LabelSpacerSize

Added in 1.0.0-alpha12
val LabelSpacerSizeRemoteDp

The default spacing between label and secondary label in RemoteRadioButton.

radioButtonShape

val radioButtonShapeRemoteRoundedCornerShape

The default shape for RemoteRadioButton.