SwipeToRevealActionColors
Class
Android
@ExperimentalWearMaterialApi
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 |