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,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedIconColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedIconColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedIconColor: 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

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

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 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 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,
    unselectedContainerColor: Color,
    unselectedContentColor: Color,
    unselectedSecondaryContentColor: Color,
    unselectedIconColor: Color,
    disabledSelectedContainerColor: Color,
    disabledSelectedContentColor: Color,
    disabledSelectedSecondaryContentColor: Color,
    disabledSelectedIconColor: Color,
    disabledUnselectedContainerColor: Color,
    disabledUnselectedContentColor: Color,
    disabledUnselectedSecondaryContentColor: Color,
    disabledUnselectedIconColor: 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

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

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

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

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

disabledSelectedContainerColor

Added in 1.0.0-alpha21
val disabledSelectedContainerColorColor

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

disabledSelectedContentColor

Added in 1.0.0-alpha21
val disabledSelectedContentColorColor

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

disabledSelectedIconColor

Added in 1.0.0-alpha21
val disabledSelectedIconColorColor

Icon color when the radio button is disabled and selected

disabledSelectedSecondaryContentColor

Added in 1.0.0-alpha21
val disabledSelectedSecondaryContentColorColor

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

disabledUnselectedContainerColor

Added in 1.0.0-alpha21
val disabledUnselectedContainerColorColor

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

disabledUnselectedContentColor

Added in 1.0.0-alpha21
val disabledUnselectedContentColorColor

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

disabledUnselectedIconColor

Added in 1.0.0-alpha21
val disabledUnselectedIconColorColor

Icon color when the radio button is disabled and unselected

disabledUnselectedSecondaryContentColor

Added in 1.0.0-alpha21
val disabledUnselectedSecondaryContentColorColor

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

selectedContainerColor

Added in 1.0.0-alpha21
val selectedContainerColorColor

Container or background color when the radio button is selected

selectedContentColor

Added in 1.0.0-alpha21
val selectedContentColorColor

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

selectedIconColor

Added in 1.0.0-alpha21
val selectedIconColorColor

Color of the icon when the radio button is selected

selectedSecondaryContentColor

Added in 1.0.0-alpha21
val selectedSecondaryContentColorColor

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

unselectedContainerColor

Added in 1.0.0-alpha21
val unselectedContainerColorColor

Container or background color when the radio button is unselected

unselectedContentColor

Added in 1.0.0-alpha21
val unselectedContentColorColor

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

unselectedIconColor

Added in 1.0.0-alpha21
val unselectedIconColorColor

Color of the icon when the radio button is unselected

unselectedSecondaryContentColor

Added in 1.0.0-alpha21
val unselectedSecondaryContentColorColor

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