Object

BottomSheetScaffoldDefaults

Contains useful defaults for BottomSheetScaffold.

Source set: Common
public object BottomSheetScaffoldDefaults

Contains useful defaults for BottomSheetScaffold.

Properties

SheetElevation

Source set: Common
public val SheetElevation: Dp = 8.dp

The default elevation used by BottomSheetScaffold.

SheetPeekHeight

Source set: Common
public val SheetPeekHeight: Dp = 56.dp

The default peek height used by BottomSheetScaffold.

AnimationSpec

Source set: Common
public val AnimationSpec: AnimationSpec<Float> =
        tween(durationMillis = 300, easing = FastOutSlowInEasing)

The default animation spec used by BottomSheetScaffoldState.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: