SwipeToRevealActionColors

@ExperimentalWearMaterialApi
class SwipeToRevealActionColors


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

Summary

Public constructors

SwipeToRevealActionColors(
    primaryActionBackgroundColor: Color,
    primaryActionContentColor: Color,
    secondaryActionBackgroundColor: Color,
    secondaryActionContentColor: Color,
    undoActionBackgroundColor: Color,
    undoActionContentColor: Color
)

Public functions

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

Public properties

Color

Color of the shape (background) of primary action

Color

Color of icon or text used in the primary action

Color

Color of the secondary action shape (background)

Color

Color of the icon or text used in the secondary action

Color

Color of the undo action shape (background)

Color

Color of the icon or text used in the undo action

Public constructors

SwipeToRevealActionColors

SwipeToRevealActionColors(
    primaryActionBackgroundColor: Color,
    primaryActionContentColor: Color,
    secondaryActionBackgroundColor: Color,
    secondaryActionContentColor: Color,
    undoActionBackgroundColor: Color,
    undoActionContentColor: Color
)
Parameters
primaryActionBackgroundColor: Color

Color of the shape (background) of primary action

primaryActionContentColor: Color

Color of icon or text used in the primary action

secondaryActionBackgroundColor: Color

Color of the secondary action shape (background)

secondaryActionContentColor: Color

Color of the icon or text used in the secondary action

undoActionBackgroundColor: Color

Color of the undo action shape (background)

undoActionContentColor: Color

Color of the icon or text used in the undo action

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

primaryActionBackgroundColor

Added in 1.4.0
val primaryActionBackgroundColorColor

Color of the shape (background) of primary action

primaryActionContentColor

Added in 1.4.0
val primaryActionContentColorColor

Color of icon or text used in the primary action

secondaryActionBackgroundColor

Added in 1.4.0
val secondaryActionBackgroundColorColor

Color of the secondary action shape (background)

secondaryActionContentColor

Added in 1.4.0
val secondaryActionContentColorColor

Color of the icon or text used in the secondary action

undoActionBackgroundColor

Added in 1.4.0
val undoActionBackgroundColorColor

Color of the undo action shape (background)

undoActionContentColor

Added in 1.4.0
val undoActionContentColorColor

Color of the icon or text used in the undo action