🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

SwipeToRevealActionColors

A class representing the colors applied in SwipeToReveal actions.

Source set: Android
public class SwipeToRevealActionColors constructor(
    public val primaryActionBackgroundColor: Color,
    public val primaryActionContentColor: Color,
    public val secondaryActionBackgroundColor: Color,
    public val secondaryActionContentColor: Color,
    public val undoActionBackgroundColor: Color,
    public val undoActionContentColor: Color,
)

A class representing the colors applied in SwipeToReveal actions. See SwipeToRevealDefaults.actionColors.

Parameters

primaryActionBackgroundColor Color of the shape (background) of primary action
primaryActionContentColor Color of icon or text used in the primary action
secondaryActionBackgroundColor Color of the secondary action shape (background)
secondaryActionContentColor Color of the icon or text used in the secondary action
undoActionBackgroundColor Color of the undo action shape (background)
undoActionContentColor Color of the icon or text used in the undo action

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int