class IconButtonColors


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

Summary

Public constructors

IconButtonColors(
    containerColor: Color,
    contentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color
)

Public functions

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

Public properties

Color

the background color of this icon button when enabled.

Color

the color of this icon when enabled.

Color

the background color of this icon button when not enabled.

Color

the color of this icon when not enabled.

Public constructors

IconButtonColors

IconButtonColors(
    containerColor: Color,
    contentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color
)
Parameters
containerColor: Color

the background color of this icon button when enabled.

contentColor: Color

the color of this icon when enabled.

disabledContainerColor: Color

the background color of this icon button when not enabled.

disabledContentColor: Color

the color of this icon when not enabled.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

containerColor

Added in 1.0.0-alpha21
val containerColorColor

the background color of this icon button when enabled.

contentColor

Added in 1.0.0-alpha21
val contentColorColor

the color of this icon when enabled.

disabledContainerColor

Added in 1.0.0-alpha21
val disabledContainerColorColor

the background color of this icon button when not enabled.

disabledContentColor

Added in 1.0.0-alpha21
val disabledContentColorColor

the color of this icon when not enabled.