Source set: Common
public object DrawerDefaults
Object to hold default values for ModalDrawer and BottomDrawer
Properties
AnimationSpec
Source set: Common
public val AnimationSpec: TweenSpec<Float> = 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
public val backgroundColor: Color
Default background color for drawer sheets
Elevation
Source set: Common
public val Elevation: Dp = 16.dp
Default elevation for drawer sheet as specified in material specs
shape
Source set: Common
public val shape: Shape
Default shape for drawer sheets
scrimColor
Source set: Common
public val scrimColor: Color
Default color of the scrim that obscures content when the drawer is open
ScrimOpacity
Source set: Common
public const val ScrimOpacity: Float = 0.32f
Default alpha for scrim color