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

systemGestureExclusion

Android

Modifier in Compose Foundation

Excludes the layout rectangle from the system gesture.

Last updated:

Installation

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

Overloads


fun Modifier.systemGestureExclusion()

fun Modifier.systemGestureExclusion(exclusion: (LayoutCoordinates) -> Rect)
by @alexstyl