ConfirmationDialogColors

Class

Android
public class ConfirmationDialogColors(
    public val iconColor: Color,
    public val iconContainerColor: Color,
    public val textColor: Color,
)

Represents the colors used in ConfirmationDialog, SuccessConfirmationDialog and FailureConfirmationDialog.

Parameters

iconColorColor used to tint the icon.
iconContainerColorThe color of the container behind the icon.
textColorColor used to tint the text.

Functions

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

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

Parameters

iconColorColor used to tint the icon.
iconContainerColorThe color of the container behind the icon.
textColorColor used to tint the text.