Object

RemoteCheckboxButtonDefaults

Contains the default values used by RemoteCheckboxButton.

Source set: Android
public object RemoteCheckboxButtonDefaults

Contains the default values used by RemoteCheckboxButton.

Properties

Height

Source set: Android
public val Height: RemoteDp = 52.rdp

The default height of RemoteCheckboxButton.

IconSpacing

Source set: Android
public val IconSpacing: RemoteDp = 6.rdp

The default spacing between an icon and label in RemoteCheckboxButton.

IconSize

Source set: Android
public val IconSize: RemoteDp = 24.rdp

The recommended default size for icons when used inside RemoteCheckboxButton.

LabelSpacerSize

Source set: Android
public val LabelSpacerSize: RemoteDp = 1.rdp

The default spacing between label and secondary label in RemoteCheckboxButton.

ContentPadding

Source set: Android
public val ContentPadding: RemotePaddingValues =
        RemotePaddingValues(horizontal = 14.rdp, vertical = 8.rdp)

The default content padding used by RemoteCheckboxButton.

checkboxButtonShape

Source set: Android
public val checkboxButtonShape: RemoteRoundedCornerShape

The default shape for RemoteCheckboxButton.

BoxSize

Source set: Android
public val BoxSize: RemoteDp = 18.rdp

The size of the inner box of the checkbox.

BoxStroke

Source set: Android
public val BoxStroke: RemoteDp = 2.rdp

The stroke width of the checkbox border.

BoxRadius

Source set: Android
public val BoxRadius: RemoteDp = 2.rdp

The corner radius of the checkbox box.

BoxOuterSize

Source set: Android
public val BoxOuterSize: RemoteDp = 24.rdp

The outer size of the checkbox touch/draw target.

Functions

checkboxButtonColors

Source set: Android
@Composable
    public fun checkboxButtonColors(): RemoteCheckboxButtonColors

Creates a RemoteCheckboxButtonColors with default values for RemoteCheckboxButton.

checkboxButtonColors

Source set: Android
@Composable
    public 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 Container color when checked and enabled.
checkedContentColor Content color when checked and enabled.
checkedSecondaryContentColor Secondary content color when checked and enabled.
checkedIconColor Icon color when checked and enabled.
checkedBoxColor Box color when checked and enabled.
checkedCheckmarkColor Checkmark color when checked and enabled.
uncheckedContainerColor Container color when unchecked and enabled.
uncheckedContentColor Content color when unchecked and enabled.
uncheckedSecondaryContentColor Secondary content color when unchecked and enabled.
uncheckedIconColor Icon color when unchecked and enabled.
uncheckedBoxColor Box color when unchecked and enabled.
disabledCheckedContainerColor Container color when checked and disabled.
disabledCheckedContentColor Content color when checked and disabled.
disabledCheckedSecondaryContentColor Secondary content color when checked and disabled.
disabledCheckedIconColor Icon color when checked and disabled.
disabledCheckedBoxColor Box color when checked and disabled.
disabledCheckedCheckmarkColor Checkmark color when checked and disabled.
disabledUncheckedContainerColor Container color when unchecked and disabled.
disabledUncheckedContentColor Content color when unchecked and disabled.
disabledUncheckedSecondaryContentColor Secondary content color when unchecked and disabled.
disabledUncheckedIconColor Icon color when unchecked and disabled.
disabledUncheckedBoxColor Box color when unchecked and disabled.

Content updated: