Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# FloatingActionButtonElevation\n=============================\n\nArtifact: [androidx.compose.material3:material3](/jetpack/androidx/releases/compose-material3) \n[View Source](https://cs.android.com/search?q=file:androidx/compose/material3/FloatingActionButton.kt+class:androidx.compose.material3.FloatingActionButtonElevation) \nAdded in [1.0.0](/jetpack/androidx/releases/compose-material3#1.0.0)\nCommon/AllAndroid/JVM\n - Cmn \n\n ```\n open class FloatingActionButtonElevation\n ```\n\n*** ** * ** ***\n\nRepresents the tonal and shadow elevation for a floating action button in different states.\n\nSee [FloatingActionButtonDefaults.elevation](/reference/kotlin/androidx/compose/material3/FloatingActionButtonDefaults#elevation(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) for the default elevation used in a [FloatingActionButton](/reference/kotlin/androidx/compose/material3/package-summary#FloatingActionButton(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.material3.FloatingActionButtonElevation,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)) and [ExtendedFloatingActionButton](/reference/kotlin/androidx/compose/material3/package-summary#ExtendedFloatingActionButton(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.material3.FloatingActionButtonElevation,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function1)).\n\nSummary\n-------\n\n| ### Public functions |\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|\n| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](/reference/kotlin/androidx/compose/material3/FloatingActionButtonElevation#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` | Cmn |\n| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [hashCode](/reference/kotlin/androidx/compose/material3/FloatingActionButtonElevation#hashCode())`()` | Cmn |\n\nPublic functions\n----------------\n\n### equals\n\nCmn \n\n```\nopen operator fun equals(other: Any?): Boolean\n``` \n\n### hashCode\n\nCmn \n\n```\nopen fun hashCode(): Int\n```"]]