ChipElevation

Class

Common
class ChipElevation(
    val elevation: Dp,
    val pressedElevation: Dp,
    val focusedElevation: Dp,
    val hoveredElevation: Dp,
    val draggedElevation: Dp,
    val disabledElevation: Dp,
)

Represents the elevation used in a selectable chip in different states.

Note that this default implementation does not take into consideration the selectable state passed into its shadowElevation. If you wish to apply that state, use a different SelectableChipElevation.

Parameters

elevationthe elevation used when the chip is enabled.
pressedElevationthe elevation used when the chip is pressed.
focusedElevationthe elevation used when the chip is focused
hoveredElevationthe elevation used when the chip is hovered
draggedElevationthe elevation used when the chip is dragged
disabledElevationthe elevation used when the chip is not enabled