Object

BackdropScaffoldDefaults

Contains useful defaults for BackdropScaffold.

Source set: Common
public object BackdropScaffoldDefaults

Contains useful defaults for BackdropScaffold.

Properties

PeekHeight

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

The default peek height of the back layer.

HeaderHeight

Source set: Common
public val HeaderHeight: Dp = 48.dp

The default header height of the front layer.

frontLayerShape

Source set: Common
public val frontLayerShape: Shape

The default shape of the front layer.

FrontLayerElevation

Source set: Common
public val FrontLayerElevation: Dp = 1.dp

The default elevation of the front layer.

frontLayerScrimColor

Source set: Common
public val frontLayerScrimColor: Color

The default color of the scrim applied to the front layer.

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: