🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

ButtonElevation

Represents the elevation for a button in different states.

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

Represents the elevation for a button in different states.

  • See ButtonDefaults.buttonElevation for the default elevation used in a Button.
  • ElevatedButton.

  • See ButtonDefaults.elevatedButtonElevation for the default elevation used in a

Functions

equals

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

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: