DrawerDefaults


Object to hold default values for ModalDrawer and BottomDrawer

Summary

Constants

const Float
ScrimOpacity = 0.32f

Default alpha for scrim color

Cmn

Public properties

TweenSpec<Float>

Default animation spec used for ModalDrawer and BottomDrawer open and close animations, as well as settling when a user lets go.

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

ScrimOpacity

const val ScrimOpacity = 0.32f: Float

Default alpha for scrim color

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.

Elevation

val Elevation: Dp

Default elevation for drawer sheet as specified in material specs

backgroundColor

val backgroundColor: Color

Default background color for drawer sheets

scrimColor

val scrimColor: Color

Default color of the scrim that obscures content when the drawer is open

shape

val shape: Shape

Default shape for drawer sheets