RemoteRadioButtonDefaults

object RemoteRadioButtonDefaults


Contains the default values used by RemoteRadioButton.

Summary

Public functions

RemoteRadioButtonColors

Creates a RemoteRadioButtonColors with default values for RemoteRadioButton.

RemoteRadioButtonColors
@Composable
@RemoteComposable
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-alpha16
@Composable
@RemoteComposable
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, or null to use the theme default.

selectedContentColor: RemoteColor? = null

Content color when selected and enabled, or null to use the theme default.

selectedSecondaryContentColor: RemoteColor? = null

Secondary content color when selected and enabled, or null to use the theme default.

selectedIconColor: RemoteColor? = null

Icon color when selected and enabled, or null to use the theme default.

selectedControlColor: RemoteColor? = null

Control color when selected and enabled, or null to use the theme default.

unselectedContainerColor: RemoteColor? = null

Container color when unselected and enabled, or null to use the theme default.

unselectedContentColor: RemoteColor? = null

Content color when unselected and enabled, or null to use the theme default.

unselectedSecondaryContentColor: RemoteColor? = null

Secondary content color when unselected and enabled, or null to use the theme default.

unselectedIconColor: RemoteColor? = null

Icon color when unselected and enabled, or null to use the theme default.

unselectedControlColor: RemoteColor? = null

Control color when unselected and enabled, or null to use the theme default.

disabledSelectedContainerColor: RemoteColor? = null

Container color when selected and disabled, or null to use the theme default.

disabledSelectedContentColor: RemoteColor? = null

Content color when selected and disabled, or null to use the theme default.

disabledSelectedSecondaryContentColor: RemoteColor? = null

Secondary content color when selected and disabled, or null to use the theme default.

disabledSelectedIconColor: RemoteColor? = null

Icon color when selected and disabled, or null to use the theme default.

disabledSelectedControlColor: RemoteColor? = null

Control color when selected and disabled, or null to use the theme default.

disabledUnselectedContainerColor: RemoteColor? = null

Container color when unselected and disabled, or null to use the theme default.

disabledUnselectedContentColor: RemoteColor? = null

Content color when unselected and disabled, or null to use the theme default.

disabledUnselectedSecondaryContentColor: RemoteColor? = null

Secondary content color when unselected and disabled, or null to use the theme default.

disabledUnselectedIconColor: RemoteColor? = null

Icon color when unselected and disabled, or null to use the theme default.

disabledUnselectedControlColor: RemoteColor? = null

Control color when unselected and disabled, or null to use the theme default.

Returns
RemoteRadioButtonColors

a RemoteRadioButtonColors with the configured colors for RemoteRadioButton

Public properties

CircleRadius

Added in 1.0.0-alpha16
val CircleRadius: RemoteDp

The outer radius of the radio button ring.

CircleStroke

Added in 1.0.0-alpha16
val CircleStroke: RemoteDp

The stroke width of the radio button ring.

ContentPadding

Added in 1.0.0-alpha16
val ContentPadding: RemotePaddingValues

The default content padding used by RemoteRadioButton.

ControlSize

Added in 1.0.0-alpha16
val ControlSize: RemoteDp

The outer size of the radio button control.

DotRadius

Added in 1.0.0-alpha16
val DotRadius: RemoteDp

The radius of the inner dot when selected.

Height

Added in 1.0.0-alpha16
val Height: RemoteDp

The default height of RemoteRadioButton.

IconSize

Added in 1.0.0-alpha16
val IconSize: RemoteDp

The recommended default size for icons when used inside RemoteRadioButton.

IconSpacing

Added in 1.0.0-alpha16
val IconSpacing: RemoteDp

The default spacing between an icon and label in RemoteRadioButton.

LabelSpacerSize

Added in 1.0.0-alpha16
val LabelSpacerSize: RemoteDp

The default spacing between label and secondary label in RemoteRadioButton.

radioButtonShape

Added in 1.0.0-alpha16
val radioButtonShape: RemoteRoundedCornerShape

The default shape for RemoteRadioButton.