Object

DrawerDefaults

Object to hold default values for ModalDrawer and BottomDrawer

Source set: Common
object DrawerDefaults

Object to hold default values for ModalDrawer and BottomDrawer

Properties

AnimationSpec

Source set: Common
val AnimationSpec = TweenSpec<Float>(durationMillis = 256)

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

backgroundColor

Source set: Common
val backgroundColor: Color

Default background color for drawer sheets

Elevation

Source set: Common
val Elevation = 16.dp

Default elevation for drawer sheet as specified in material specs

shape

Source set: Common
val shape: Shape

Default shape for drawer sheets

scrimColor

Source set: Common
val scrimColor: Color

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

ScrimOpacity

Source set: Common
const val ScrimOpacity = 0.32f

Default alpha for scrim color

Last updated: