FloatingActionButtonElevation


Represents the elevation for a floating action button in different states.

See FloatingActionButtonDefaults.elevation for the default elevation used in a FloatingActionButton and ExtendedFloatingActionButton.

Summary

Public functions

State<Dp>

Represents the elevation used in a floating action button, depending on interactionSource.

Cmn

Public functions

elevation

@Composable
fun elevation(interactionSource: InteractionSource): State<Dp>

Represents the elevation used in a floating action button, depending on interactionSource.

Parameters
interactionSource: InteractionSource

the InteractionSource for this floating action button