class RadioButtonColors


Represents the different container and content colors used for RadioButton in various states, that are selected, unselected, enabled and disabled.

Summary

Public constructors

RadioButtonColors(
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedSecondaryContentColor: Color,
    selectedIconColor: Color,
    selectedControlColor: Color,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedIconColor: Color,
    unselectedControlColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedIconColor: Color,
    disabledSelectedControlColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedIconColor: Color,
    disabledUnselectedControlColor: Color
)

RadioButtonColors constructor to be used with RadioButton

Public functions

RadioButtonColors
copy(
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedSecondaryContentColor: Color,
    selectedIconColor: Color,
    selectedControlColor: Color,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedIconColor: Color,
    unselectedControlColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedIconColor: Color,
    disabledSelectedControlColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedIconColor: Color,
    disabledUnselectedControlColor: Color
)

Returns a copy of this RadioButtonColors optionally overriding some of the values.

open operator Boolean
equals(other: Any?)
open Int

Public properties

Color

Container or background color when the radio button is disabled and selected

Color

Color of content (e.g. label) when the radio button is disabled and selected

Color

Radio selection control color when the radio button is disabled and selected

Color

Icon color when the radio button is disabled and selected

Color

Color of the secondary content like secondary label when the radio button is disabled and selected

Color

Container or background color when the radio button is disabled and unselected

Color

Color of the content (e.g. label) when the radio button is disabled and unselected

Color

Radio selection control color when the radio button is disabled and unselected

Color

Icon color when the radio button is disabled and unselected

Color

Color of the secondary content like secondary label when the radio button is disabled and unselected

Color

Container or background color when the radio button is selected

Color

Color of the content (e.g. label) when the radio button is selected

Color

Color of the radio selection control when the radio button is selected

Color

Color of the icon when the radio button is selected

Color

Color of the secondary content (e.g. secondary label) when the radio button is selected

Color

Container or background color when the radio button is unselected

Color

Color of the content (e.g. label) when the radio button is unselected

Color

Color of the radio selection control when the radio button is unselected

Color

Color of the icon when the radio button is unselected

Color

Color of the secondary content (e.g. secondary label) when the radio button is unselected

Public constructors

RadioButtonColors

RadioButtonColors(
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedSecondaryContentColor: Color,
    selectedIconColor: Color,
    selectedControlColor: Color,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedIconColor: Color,
    unselectedControlColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedIconColor: Color,
    disabledSelectedControlColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedIconColor: Color,
    disabledUnselectedControlColor: Color
)

RadioButtonColors constructor to be used with RadioButton

Parameters
selectedContainerColor: Color

Container or background color when the radio button is selected

selectedContentColor: Color

Color of the content (e.g. label) when the radio button is selected

selectedSecondaryContentColor: Color

Color of the secondary content (e.g. secondary label) when the radio button is selected

selectedIconColor: Color

Color of the icon when the radio button is selected

selectedControlColor: Color

Color of the radio selection control when the radio button is selected

unselectedContainerColor: Color

Container or background color when the radio button is unselected

unselectedContentColor: Color

Color of the content (e.g. label) when the radio button is unselected

unselectedSecondaryContentColor: Color

Color of the secondary content (e.g. secondary label) when the radio button is unselected

unselectedIconColor: Color

Color of the icon when the radio button is unselected

unselectedControlColor: Color

Color of the radio selection control when the radio button is unselected

disabledSelectedContainerColor: Color

Container or background color when the radio button is disabled and selected

disabledSelectedContentColor: Color

Color of content (e.g. label) when the radio button is disabled and selected

disabledSelectedSecondaryContentColor: Color

Color of the secondary content like secondary label when the radio button is disabled and selected

disabledSelectedIconColor: Color

Icon color when the radio button is disabled and selected

disabledSelectedControlColor: Color

Radio selection control color when the radio button is disabled and selected

disabledUnselectedContainerColor: Color

Container or background color when the radio button is disabled and unselected

disabledUnselectedContentColor: Color

Color of the content (e.g. label) when the radio button is disabled and unselected

disabledUnselectedSecondaryContentColor: Color

Color of the secondary content like secondary label when the radio button is disabled and unselected

disabledUnselectedIconColor: Color

Icon color when the radio button is disabled and unselected

disabledUnselectedControlColor: Color

Radio selection control color when the radio button is disabled and unselected

Public functions

copy

fun copy(
    selectedContainerColor: Color = this.selectedContainerColor,
    selectedContentColor: Color = this.selectedContentColor,
    selectedSecondaryContentColor: Color = this.selectedSecondaryContentColor,
    selectedIconColor: Color = this.selectedIconColor,
    selectedControlColor: Color = this.selectedControlColor,
    unselectedContainerColor: Color = this.unselectedContainerColor,
    unselectedContentColor: Color = this.unselectedContentColor,
    unselectedSecondaryContentColor: Color = this.unselectedSecondaryContentColor,
    unselectedIconColor: Color = this.unselectedIconColor,
    unselectedControlColor: Color = this.unselectedControlColor,
    disabledSelectedContainerColor: Color = this.disabledSelectedContainerColor,
    disabledSelectedContentColor: Color = this.disabledSelectedContentColor,
    disabledSelectedSecondaryContentColor: Color = this.disabledSelectedSecondaryContentColor,
    disabledSelectedIconColor: Color = this.disabledSelectedIconColor,
    disabledSelectedControlColor: Color = this.disabledSelectedControlColor,
    disabledUnselectedContainerColor: Color = this.disabledUnselectedContainerColor,
    disabledUnselectedContentColor: Color = this.disabledUnselectedContentColor,
    disabledUnselectedSecondaryContentColor: Color = this.disabledUnselectedSecondaryContentColor,
    disabledUnselectedIconColor: Color = this.disabledUnselectedIconColor,
    disabledUnselectedControlColor: Color = this.disabledUnselectedControlColor
): RadioButtonColors

Returns a copy of this RadioButtonColors optionally overriding some of the values.

Parameters
selectedContainerColor: Color = this.selectedContainerColor

Container or background color when the radio button is selected

selectedContentColor: Color = this.selectedContentColor

Color of the content (e.g. label) when the radio button is selected

selectedSecondaryContentColor: Color = this.selectedSecondaryContentColor

Color of the secondary content (e.g. secondary label) when the radio button is selected

selectedIconColor: Color = this.selectedIconColor

Color of the icon when the radio button is selected

selectedControlColor: Color = this.selectedControlColor

Color of the radio selection control when the radio button is selected

unselectedContainerColor: Color = this.unselectedContainerColor

Container or background color when the radio button is unselected

unselectedContentColor: Color = this.unselectedContentColor

Color of the content (e.g. label) when the radio button is unselected

unselectedSecondaryContentColor: Color = this.unselectedSecondaryContentColor

Color of the secondary content (e.g. secondary label) when the radio button is unselected

unselectedIconColor: Color = this.unselectedIconColor

Color of the icon when the radio button is unselected

unselectedControlColor: Color = this.unselectedControlColor

Color of the radio selection control when the radio button is unselected

disabledSelectedContainerColor: Color = this.disabledSelectedContainerColor

Container or background color when the radio button is disabled and selected

disabledSelectedContentColor: Color = this.disabledSelectedContentColor

Color of content (e.g. label) when the radio button is disabled and selected

disabledSelectedSecondaryContentColor: Color = this.disabledSelectedSecondaryContentColor

Color of the secondary content like secondary label when the radio button is disabled and selected

disabledSelectedIconColor: Color = this.disabledSelectedIconColor

Icon color when the radio button is disabled and selected

disabledSelectedControlColor: Color = this.disabledSelectedControlColor

Radio selection control color when the radio button is disabled and selected

disabledUnselectedContainerColor: Color = this.disabledUnselectedContainerColor

Container or background color when the radio button is disabled and unselected

disabledUnselectedContentColor: Color = this.disabledUnselectedContentColor

Color of the content (e.g. label) when the radio button is disabled and unselected

disabledUnselectedSecondaryContentColor: Color = this.disabledUnselectedSecondaryContentColor

Color of the secondary content like secondary label when the radio button is disabled and unselected

disabledUnselectedIconColor: Color = this.disabledUnselectedIconColor

Icon color when the radio button is disabled and unselected

disabledUnselectedControlColor: Color = this.disabledUnselectedControlColor

Radio selection control color when the radio button is disabled and unselected

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

disabledSelectedContainerColor

Added in 1.0.0-alpha28
val disabledSelectedContainerColorColor

Container or background color when the radio button is disabled and selected

disabledSelectedContentColor

Added in 1.0.0-alpha28
val disabledSelectedContentColorColor

Color of content (e.g. label) when the radio button is disabled and selected

disabledSelectedControlColor

Added in 1.0.0-alpha28
val disabledSelectedControlColorColor

Radio selection control color when the radio button is disabled and selected

disabledSelectedIconColor

Added in 1.0.0-alpha28
val disabledSelectedIconColorColor

Icon color when the radio button is disabled and selected

disabledSelectedSecondaryContentColor

Added in 1.0.0-alpha28
val disabledSelectedSecondaryContentColorColor

Color of the secondary content like secondary label when the radio button is disabled and selected

disabledUnselectedContainerColor

Added in 1.0.0-alpha28
val disabledUnselectedContainerColorColor

Container or background color when the radio button is disabled and unselected

disabledUnselectedContentColor

Added in 1.0.0-alpha28
val disabledUnselectedContentColorColor

Color of the content (e.g. label) when the radio button is disabled and unselected

disabledUnselectedControlColor

Added in 1.0.0-alpha28
val disabledUnselectedControlColorColor

Radio selection control color when the radio button is disabled and unselected

disabledUnselectedIconColor

Added in 1.0.0-alpha28
val disabledUnselectedIconColorColor

Icon color when the radio button is disabled and unselected

disabledUnselectedSecondaryContentColor

Added in 1.0.0-alpha28
val disabledUnselectedSecondaryContentColorColor

Color of the secondary content like secondary label when the radio button is disabled and unselected

selectedContainerColor

Added in 1.0.0-alpha28
val selectedContainerColorColor

Container or background color when the radio button is selected

selectedContentColor

Added in 1.0.0-alpha28
val selectedContentColorColor

Color of the content (e.g. label) when the radio button is selected

selectedControlColor

Added in 1.0.0-alpha28
val selectedControlColorColor

Color of the radio selection control when the radio button is selected

selectedIconColor

Added in 1.0.0-alpha28
val selectedIconColorColor

Color of the icon when the radio button is selected

selectedSecondaryContentColor

Added in 1.0.0-alpha28
val selectedSecondaryContentColorColor

Color of the secondary content (e.g. secondary label) when the radio button is selected

unselectedContainerColor

Added in 1.0.0-alpha28
val unselectedContainerColorColor

Container or background color when the radio button is unselected

unselectedContentColor

Added in 1.0.0-alpha28
val unselectedContentColorColor

Color of the content (e.g. label) when the radio button is unselected

unselectedControlColor

Added in 1.0.0-alpha28
val unselectedControlColorColor

Color of the radio selection control when the radio button is unselected

unselectedIconColor

Added in 1.0.0-alpha28
val unselectedIconColorColor

Color of the icon when the radio button is unselected

unselectedSecondaryContentColor

Added in 1.0.0-alpha28
val unselectedSecondaryContentColorColor

Color of the secondary content (e.g. secondary label) when the radio button is unselected