<div class='sourceset sourceset-android'>Android</div>

```kotlin
public object SwipeToRevealDefaults
```

Defaults for Material 3 [SwipeToReveal](/jetpack-compose/androidx.wear.compose/compose-material3/components/SwipeToReveal).

## Functions

<h2 id="gestureinclusion-state">gestureInclusion</h2>

```kotlin
public fun gestureInclusion(
        state: RevealState,
        @FloatRange(from = 0.0, to = 1.0) edgeZoneFraction: Float = LeftEdgeZoneFraction,
    ): GestureInclusion
```

The default behaviour for when [SwipeToReveal](/jetpack-compose/androidx.wear.compose/compose-material3/components/SwipeToReveal) should handle gestures. In this implementation
of [GestureInclusion](/jetpack-compose/androidx.wear.compose/compose-foundation/interfaces/GestureInclusion), swipe events that originate in the left edge of the screen (as
determined by `LeftEdgeZoneFraction`) will be ignored, if the [RevealState](/jetpack-compose/androidx.wear.compose/compose-material3/classes/RevealState) is `Covered`.
This allows swipe-to-dismiss handlers (if present) to handle the gesture in this region.

#### Parameters

| | |
| --- | --- |
| state | [RevealState](/jetpack-compose/androidx.wear.compose/compose-material3/classes/RevealState) of the [SwipeToReveal](/jetpack-compose/androidx.wear.compose/compose-material3/components/SwipeToReveal). |
| edgeZoneFraction | The fraction of the screen width from the left edge where gestures should be ignored. Defaults to `LeftEdgeZoneFraction`. |