New Compose Multiplatform components arrived on Composables UICheck it out →

Modifier in Compose Foundation

systemGestureExclusion

Android

Excludes the layout rectangle from the system gesture.

Last updated:

Installation

dependencies {
   implementation("androidx.compose.foundation:foundation:1.7.0-beta04")
}

Overloads


fun Modifier.systemGestureExclusion()

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