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
iconColor | Color used to tint the icon. |
iconContainerColor | The color of the container behind the icon. |
textColor | Color 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
iconColor | Color used to tint the icon. |
iconContainerColor | The color of the container behind the icon. |
textColor | Color used to tint the text. |