Object

DrawerDefaults

Object to hold default values for ModalDrawer and BottomDrawer

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
object DrawerDefaults

Object to hold default values for ModalDrawer and BottomDrawer

Properties

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.

Common
val backgroundColor: Color

Default background color for drawer sheets

Common
val Elevation = 16.dp

Default elevation for drawer sheet as specified in material specs

Common
val shape: Shape

Default shape for drawer sheets

Common
val scrimColor: Color

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

Common
const val ScrimOpacity = 0.32f

Default alpha for scrim color