filterChipElevation

@Composable
fun filterChipElevation(elevation: Dp = FilterChipTokens.FlatContainerElevation, pressedElevation: Dp = FilterChipTokens.FlatSelectedPressedContainerElevation, focusedElevation: Dp = FilterChipTokens.FlatSelectedFocusContainerElevation, hoveredElevation: Dp = FilterChipTokens.FlatSelectedHoverContainerElevation, draggedElevation: Dp = FilterChipTokens.DraggedContainerElevation, disabledElevation: Dp = elevation): SelectableChipElevation

Creates a SelectableChipElevation that will animate between the provided values according to the Material specification for a flat FilterChip.

Parameters

elevation

the elevation used when the FilterChip is has no other Interactions

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