ButtonElevation
-
Cmn
interface ButtonElevation
Represents the elevation for a button in different states.
See ButtonDefaults.elevation for the default elevation used in a Button.
Summary
Public functions |
||
|---|---|---|
State<Dp> |
@ComposableRepresents the elevation used in a button, depending on |
Cmn
|
Public functions
elevation
@Composable
fun elevation(enabled: Boolean, interactionSource: InteractionSource): State<Dp>
Represents the elevation used in a button, depending on enabled and interactionSource.
| Parameters | |
|---|---|
enabled: Boolean |
whether the button is enabled |
interactionSource: InteractionSource |
the |