bottomAppBarFabElevation

fun bottomAppBarFabElevation(defaultElevation: Dp = 0.dp, pressedElevation: Dp = 0.dp, focusedElevation: Dp = 0.dp, hoveredElevation: Dp = 0.dp): FloatingActionButtonElevation

Use this to create a FloatingActionButton that represents the default elevation of a FloatingActionButton used for BottomAppBar in different states.

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.