IconToggleButtonColors


Represents the container and content colors used in a toggleable icon button in different states.

Summary

Public constructors

IconToggleButtonColors(
    containerColor: Color,
    contentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color,
    checkedContainerColor: Color,
    checkedContentColor: Color
)

create an instance with arbitrary colors.

Cmn

Public functions

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

Public properties

Color

the container color of this icon button when checked.

Cmn
Color

the content color of this icon button when checked.

Cmn
Color

the container color of this icon button when enabled.

Cmn
Color

the content color of this icon button when enabled.

Cmn
Color

the container color of this icon button when not enabled.

Cmn
Color

the content color of this icon button when not enabled.

Cmn

Public constructors

IconToggleButtonColors

IconToggleButtonColors(
    containerColor: Color,
    contentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color,
    checkedContainerColor: Color,
    checkedContentColor: Color
)

create an instance with arbitrary colors.

Parameters
containerColor: Color

the container color of this icon button when enabled.

contentColor: Color

the content color of this icon button when enabled.

disabledContainerColor: Color

the container color of this icon button when not enabled.

disabledContentColor: Color

the content color of this icon button when not enabled.

checkedContainerColor: Color

the container color of this icon button when checked.

checkedContentColor: Color

the content color of this icon button when checked.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

checkedContainerColor

val checkedContainerColorColor

the container color of this icon button when checked.

checkedContentColor

val checkedContentColorColor

the content color of this icon button when checked.

containerColor

val containerColorColor

the container color of this icon button when enabled.

contentColor

val contentColorColor

the content color of this icon button when enabled.

disabledContainerColor

val disabledContainerColorColor

the container color of this icon button when not enabled.

disabledContentColor

val disabledContentColorColor

the content color of this icon button when not enabled.