outlinedCardElevation

fun outlinedCardElevation(defaultElevation: Dp = ElevationTokens.Level0, pressedElevation: Dp = defaultElevation, focusedElevation: Dp = defaultElevation, hoveredElevation: Dp = defaultElevation, draggedElevation: Dp = ElevationTokens.Level3, disabledElevation: Dp = ElevationTokens.Level0): CardElevation

Creates a CardElevation that will animate between the provided values according to the Material specification for an OutlinedCard.

Parameters

defaultElevation

the elevation used when the OutlinedCard is has no other Interactions.

pressedElevation

the elevation used when the OutlinedCard is pressed.

focusedElevation

the elevation used when the OutlinedCard is focused.

hoveredElevation

the elevation used when the OutlinedCard is hovered.

draggedElevation

the elevation used when the OutlinedCard is dragged.