Class

FloatingActionButtonElevation

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

Source set: Common
public open class FloatingActionButtonElevation internal constructor(
    private val defaultElevation: Dp,
    private val pressedElevation: Dp,
    private val focusedElevation: Dp,
    private val hoveredElevation: Dp,
)

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

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

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: