FloatingActionButtonElevation


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.

Summary

Public constructors

FloatingActionButtonElevation(
    elevation: Dp,
    pressedElevation: Dp,
    focusedElevation: Dp,
    hoveredElevation: Dp
)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

open Dp

FAB does not support these interaction states, return default values here

Cmn
open Dp

FAB does not support these interaction states, return default values here

Cmn
open Dp

The default elevation of the component.

Cmn
open Dp

The elevation of the component when it is focused.

Cmn
open Dp

The elevation of the component when the pointer is hovering over it.

Cmn
open Dp

The elevation of the component when it is pressed.

Cmn

Public constructors

FloatingActionButtonElevation

FloatingActionButtonElevation(
    elevation: Dp,
    pressedElevation: Dp,
    focusedElevation: Dp,
    hoveredElevation: Dp
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

disabledElevation

open val disabledElevationDp

FAB does not support these interaction states, return default values here

draggedElevation

open val draggedElevationDp

FAB does not support these interaction states, return default values here

elevation

open val elevationDp

The default elevation of the component.

focusedElevation

open val focusedElevationDp

The elevation of the component when it is focused.

hoveredElevation

open val hoveredElevationDp

The elevation of the component when the pointer is hovering over it.

pressedElevation

open val pressedElevationDp

The elevation of the component when it is pressed.