Android 12 Developer Preview is here! Try it out, and give us your feedback!

ModalBottomSheetDefaults

object ModalBottomSheetDefaults
kotlin.Any
   ↳ androidx.compose.material.ModalBottomSheetDefaults

Contains useful Defaults for ModalBottomSheetLayout.

Summary

Properties
Dp

The default elevation used by ModalBottomSheetLayout.

Color

The default scrim color used by ModalBottomSheetLayout.

Properties

Elevation

val Elevation: Dp

The default elevation used by ModalBottomSheetLayout.

scrimColor

val scrimColor: Color

The default scrim color used by ModalBottomSheetLayout.