DrawerDefaults
-
Cmn
object DrawerDefaults
Object to hold default values for ModalDrawer and BottomDrawer
Summary
Constants |
||
|---|---|---|
const Float |
ScrimOpacity = 0.32fDefault alpha for scrim color |
Cmn
|
Public properties |
||
|---|---|---|
TweenSpec<Float> |
Default animation spec used for |
Cmn
|
Dp |
Default elevation for drawer sheet as specified in material specs |
Cmn
|
Color |
Default background color for drawer sheets |
Cmn
|
Color |
Default color of the scrim that obscures content when the drawer is open |
Cmn
|
Shape |
Default shape for drawer sheets |
Cmn
|
Constants
Public properties
AnimationSpec
val AnimationSpec: TweenSpec<Float>
Default animation spec used for ModalDrawer and BottomDrawer open and close animations, as well as settling when a user lets go.
scrimColor
val scrimColor: Color
Default color of the scrim that obscures content when the drawer is open