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

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

equals

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

hashCode

open fun hashCode(): Int

Public properties

disabledSelectedContainerColor

Added in 1.0.0-alpha25
val disabledSelectedContainerColorColor

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

disabledSelectedContentColor

Added in 1.0.0-alpha25
val disabledSelectedContentColorColor

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

disabledSelectedControlColor

Added in 1.0.0-alpha25
val disabledSelectedControlColorColor

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

disabledSelectedIconColor

Added in 1.0.0-alpha25
val disabledSelectedIconColorColor

Icon color when the radio button is disabled and selected

disabledSelectedSecondaryContentColor

Added in 1.0.0-alpha25
val disabledSelectedSecondaryContentColorColor

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

disabledUnselectedContainerColor

Added in 1.0.0-alpha25
val disabledUnselectedContainerColorColor

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

disabledUnselectedContentColor

Added in 1.0.0-alpha25
val disabledUnselectedContentColorColor

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

disabledUnselectedControlColor

Added in 1.0.0-alpha25
val disabledUnselectedControlColorColor

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

disabledUnselectedIconColor

Added in 1.0.0-alpha25
val disabledUnselectedIconColorColor

Icon color when the radio button is disabled and unselected

disabledUnselectedSecondaryContentColor

Added in 1.0.0-alpha25
val disabledUnselectedSecondaryContentColorColor

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

selectedContainerColor

Added in 1.0.0-alpha25
val selectedContainerColorColor

Container or background color when the radio button is selected

selectedContentColor

Added in 1.0.0-alpha25
val selectedContentColorColor

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

selectedControlColor

Added in 1.0.0-alpha25
val selectedControlColorColor

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

selectedIconColor

Added in 1.0.0-alpha25
val selectedIconColorColor

Color of the icon when the radio button is selected

selectedSecondaryContentColor

Added in 1.0.0-alpha25
val selectedSecondaryContentColorColor

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

unselectedContainerColor

Added in 1.0.0-alpha25
val unselectedContainerColorColor

Container or background color when the radio button is unselected

unselectedContentColor

Added in 1.0.0-alpha25
val unselectedContentColorColor

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

unselectedControlColor

Added in 1.0.0-alpha25
val unselectedControlColorColor

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

unselectedIconColor

Added in 1.0.0-alpha25
val unselectedIconColorColor

Color of the icon when the radio button is unselected

unselectedSecondaryContentColor

Added in 1.0.0-alpha25
val unselectedSecondaryContentColorColor

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