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

elevation the elevation used when the chip is enabled.
pressedElevation the elevation used when the chip is pressed.
focusedElevation the elevation used when the chip is focused
hoveredElevation the elevation used when the chip is hovered
draggedElevation the elevation used when the chip is dragged
disabledElevation the elevation used when the chip is not enabled