RemoteCheckboxButtonDefaults

object RemoteCheckboxButtonDefaults


Contains the default values used by RemoteCheckboxButton.

Summary

Public functions

RemoteCheckboxButtonColors

Creates a RemoteCheckboxButtonColors with default values for RemoteCheckboxButton.

RemoteCheckboxButtonColors
@Composable
checkboxButtonColors(
    checkedContainerColor: RemoteColor?,
    checkedContentColor: RemoteColor?,
    checkedSecondaryContentColor: RemoteColor?,
    checkedIconColor: RemoteColor?,
    checkedBoxColor: RemoteColor?,
    checkedCheckmarkColor: RemoteColor?,
    uncheckedContainerColor: RemoteColor?,
    uncheckedContentColor: RemoteColor?,
    uncheckedSecondaryContentColor: RemoteColor?,
    uncheckedIconColor: RemoteColor?,
    uncheckedBoxColor: RemoteColor?,
    disabledCheckedContainerColor: RemoteColor?,
    disabledCheckedContentColor: RemoteColor?,
    disabledCheckedSecondaryContentColor: RemoteColor?,
    disabledCheckedIconColor: RemoteColor?,
    disabledCheckedBoxColor: RemoteColor?,
    disabledCheckedCheckmarkColor: RemoteColor?,
    disabledUncheckedContainerColor: RemoteColor?,
    disabledUncheckedContentColor: RemoteColor?,
    disabledUncheckedSecondaryContentColor: RemoteColor?,
    disabledUncheckedIconColor: RemoteColor?,
    disabledUncheckedBoxColor: RemoteColor?
)

Creates a RemoteCheckboxButtonColors with customized colors for RemoteCheckboxButton.

Public properties

RemoteDp

The outer size of the checkbox touch/draw target.

RemoteDp

The corner radius of the checkbox box.

RemoteDp

The size of the inner box of the checkbox.

RemoteDp

The stroke width of the checkbox border.

RemotePaddingValues

The default content padding used by RemoteCheckboxButton.

RemoteDp

The default height of RemoteCheckboxButton.

RemoteDp

The recommended default size for icons when used inside RemoteCheckboxButton.

RemoteDp

The default spacing between an icon and label in RemoteCheckboxButton.

RemoteDp

The default spacing between label and secondary label in RemoteCheckboxButton.

RemoteRoundedCornerShape

The default shape for RemoteCheckboxButton.

Public functions

checkboxButtonColors

Added in 1.0.0-alpha12
@Composable
fun checkboxButtonColors(): RemoteCheckboxButtonColors

Creates a RemoteCheckboxButtonColors with default values for RemoteCheckboxButton.

checkboxButtonColors

Added in 1.0.0-alpha12
@Composable
fun checkboxButtonColors(
    checkedContainerColor: RemoteColor? = null,
    checkedContentColor: RemoteColor? = null,
    checkedSecondaryContentColor: RemoteColor? = null,
    checkedIconColor: RemoteColor? = null,
    checkedBoxColor: RemoteColor? = null,
    checkedCheckmarkColor: RemoteColor? = null,
    uncheckedContainerColor: RemoteColor? = null,
    uncheckedContentColor: RemoteColor? = null,
    uncheckedSecondaryContentColor: RemoteColor? = null,
    uncheckedIconColor: RemoteColor? = null,
    uncheckedBoxColor: RemoteColor? = null,
    disabledCheckedContainerColor: RemoteColor? = null,
    disabledCheckedContentColor: RemoteColor? = null,
    disabledCheckedSecondaryContentColor: RemoteColor? = null,
    disabledCheckedIconColor: RemoteColor? = null,
    disabledCheckedBoxColor: RemoteColor? = null,
    disabledCheckedCheckmarkColor: RemoteColor? = null,
    disabledUncheckedContainerColor: RemoteColor? = null,
    disabledUncheckedContentColor: RemoteColor? = null,
    disabledUncheckedSecondaryContentColor: RemoteColor? = null,
    disabledUncheckedIconColor: RemoteColor? = null,
    disabledUncheckedBoxColor: RemoteColor? = null
): RemoteCheckboxButtonColors

Creates a RemoteCheckboxButtonColors with customized colors for RemoteCheckboxButton.

Parameters
checkedContainerColor: RemoteColor? = null

Container color when checked and enabled.

checkedContentColor: RemoteColor? = null

Content color when checked and enabled.

checkedSecondaryContentColor: RemoteColor? = null

Secondary content color when checked and enabled.

checkedIconColor: RemoteColor? = null

Icon color when checked and enabled.

checkedBoxColor: RemoteColor? = null

Box color when checked and enabled.

checkedCheckmarkColor: RemoteColor? = null

Checkmark color when checked and enabled.

uncheckedContainerColor: RemoteColor? = null

Container color when unchecked and enabled.

uncheckedContentColor: RemoteColor? = null

Content color when unchecked and enabled.

uncheckedSecondaryContentColor: RemoteColor? = null

Secondary content color when unchecked and enabled.

uncheckedIconColor: RemoteColor? = null

Icon color when unchecked and enabled.

uncheckedBoxColor: RemoteColor? = null

Box color when unchecked and enabled.

disabledCheckedContainerColor: RemoteColor? = null

Container color when checked and disabled.

disabledCheckedContentColor: RemoteColor? = null

Content color when checked and disabled.

disabledCheckedSecondaryContentColor: RemoteColor? = null

Secondary content color when checked and disabled.

disabledCheckedIconColor: RemoteColor? = null

Icon color when checked and disabled.

disabledCheckedBoxColor: RemoteColor? = null

Box color when checked and disabled.

disabledCheckedCheckmarkColor: RemoteColor? = null

Checkmark color when checked and disabled.

disabledUncheckedContainerColor: RemoteColor? = null

Container color when unchecked and disabled.

disabledUncheckedContentColor: RemoteColor? = null

Content color when unchecked and disabled.

disabledUncheckedSecondaryContentColor: RemoteColor? = null

Secondary content color when unchecked and disabled.

disabledUncheckedIconColor: RemoteColor? = null

Icon color when unchecked and disabled.

disabledUncheckedBoxColor: RemoteColor? = null

Box color when unchecked and disabled.

Public properties

BoxOuterSize

Added in 1.0.0-alpha12
val BoxOuterSizeRemoteDp

The outer size of the checkbox touch/draw target.

BoxRadius

Added in 1.0.0-alpha12
val BoxRadiusRemoteDp

The corner radius of the checkbox box.

BoxSize

Added in 1.0.0-alpha12
val BoxSizeRemoteDp

The size of the inner box of the checkbox.

BoxStroke

Added in 1.0.0-alpha12
val BoxStrokeRemoteDp

The stroke width of the checkbox border.

ContentPadding

Added in 1.0.0-alpha12
val ContentPaddingRemotePaddingValues

The default content padding used by RemoteCheckboxButton.

Height

Added in 1.0.0-alpha12
val HeightRemoteDp

The default height of RemoteCheckboxButton.

IconSize

Added in 1.0.0-alpha12
val IconSizeRemoteDp

The recommended default size for icons when used inside RemoteCheckboxButton.

IconSpacing

Added in 1.0.0-alpha12
val IconSpacingRemoteDp

The default spacing between an icon and label in RemoteCheckboxButton.

LabelSpacerSize

Added in 1.0.0-alpha12
val LabelSpacerSizeRemoteDp

The default spacing between label and secondary label in RemoteCheckboxButton.

checkboxButtonShape

val checkboxButtonShapeRemoteRoundedCornerShape

The default shape for RemoteCheckboxButton.