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 AnimationSpecTweenSpec<Float>

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

Elevation

val ElevationDp

Default elevation for drawer sheet as specified in material specs

backgroundColor

val backgroundColorColor

Default background color for drawer sheets

scrimColor

val scrimColorColor

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

shape

val shapeShape

Default shape for drawer sheets