overlayingComponent

fun overlayingComponent(outer: Component, inner: Component, innerPaddingStart: Dp = 0.dp, innerPaddingTop: Dp = 0.dp, innerPaddingBottom: Dp = 0.dp, innerPaddingEnd: Dp = 0.dp): OverlayingComponent

Creates an OverlayingComponent.

Parameters

outer

the outer (background) Component.

inner

the inner (foreground) Component.


Creates an OverlayingComponent.

Parameters

outer

the outer (background) Component.

inner

the inner (foreground) Component.

innerPaddingAll

the padding between the inner and outer components.