loweredElevation

@Composable
fun loweredElevation(defaultElevation: Dp = FabPrimaryTokens.LoweredContainerElevation, pressedElevation: Dp = FabPrimaryTokens.LoweredPressedContainerElevation, focusedElevation: Dp = FabPrimaryTokens.LoweredFocusContainerElevation, hoveredElevation: Dp = FabPrimaryTokens.LoweredHoverContainerElevation): FloatingActionButtonElevation

Use this to create a FloatingActionButton with a lowered elevation for less emphasis. Use elevation to get a normal FloatingActionButton.

Parameters

defaultElevation

the elevation used when the FloatingActionButton has no other Interactions.

pressedElevation

the elevation used when the FloatingActionButton is pressed.

focusedElevation

the elevation used when the FloatingActionButton is focused.

hoveredElevation

the elevation used when the FloatingActionButton is hovered.