Build apps faster with our new App builder! Check it out →

clipScrollableContainer

Common

Modifier in Compose Foundation

Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis.

Last updated:

Installation

dependencies {
   implementation("androidx.compose.foundation:foundation:1.8.0-alpha04")
}

Overloads

@Stable
fun Modifier.clipScrollableContainer(orientation: Orientation)

Parameters

namedescription
orientationorientation of the scrolling
by @alexstyl