ConfirmationColors

class ConfirmationColors


Represents the colors used in Confirmation, SuccessConfirmation and FailureConfirmation.

Summary

Public constructors

ConfirmationColors(
    iconColor: Color,
    iconContainerColor: Color,
    textColor: Color
)

Public functions

ConfirmationColors
copy(iconColor: Color, iconContainerColor: Color, textColor: Color)

Returns a copy of this ConfirmationColors, optionally overriding some of the values.

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

Public properties

Color

Color used to tint the icon.

Color

The color of the container behind the icon.

Color

Color used to tint the text.

Public constructors

ConfirmationColors

ConfirmationColors(
    iconColor: Color,
    iconContainerColor: Color,
    textColor: Color
)
Parameters
iconColor: Color

Color used to tint the icon.

iconContainerColor: Color

The color of the container behind the icon.

textColor: Color

Color used to tint the text.

Public functions

copy

fun copy(
    iconColor: Color = this.iconColor,
    iconContainerColor: Color = this.iconContainerColor,
    textColor: Color = this.textColor
): ConfirmationColors

Returns a copy of this ConfirmationColors, optionally overriding some of the values.

Parameters
iconColor: Color = this.iconColor

Color used to tint the icon.

iconContainerColor: Color = this.iconContainerColor

The color of the container behind the icon.

textColor: Color = this.textColor

Color used to tint the text.

equals

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

hashCode

open fun hashCode(): Int

Public properties

iconColor

Added in 1.0.0-alpha29
val iconColorColor

Color used to tint the icon.

iconContainerColor

Added in 1.0.0-alpha29
val iconContainerColorColor

The color of the container behind the icon.

textColor

Added in 1.0.0-alpha29
val textColorColor

Color used to tint the text.