Google is committed to advancing racial equity for Black communities. See how.

FloatingActionButtonElevation

@Stable interface FloatingActionButtonElevation
androidx.compose.material.FloatingActionButtonElevation

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

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

Summary

Public methods
abstract Dp
elevation(interactionState: InteractionState)

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

Public methods

elevation

abstract fun elevation(interactionState: InteractionState): Dp

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

Parameters
interactionState: InteractionState the InteractionState for this floating action button