# PickerScope

# PickerScope

Artifact:[androidx.wear.compose:compose-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/compose/material3/Picker.kt+class:androidx.wear.compose.material3.PickerScope)  
Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.5.0)

<br />

```
interface PickerScope
```

<br />

*** ** * ** ***

Receiver scope which is used by[Picker](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/package-summary#Picker(androidx.wear.compose.material3.PickerState,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function1,kotlin.Function0,androidx.compose.ui.unit.Dp,kotlin.Float,androidx.compose.ui.graphics.Color,kotlin.Boolean,androidx.wear.compose.foundation.rotary.RotaryScrollableBehavior,kotlin.Function2)).

## Summary

|                            ### Public properties                            |
|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [selectedOptionIndex](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/PickerScope#selectedOptionIndex()) Index of the option selected (i.e., at the center). |

## Public properties

### selectedOptionIndex

Added in[1.5.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.5.0)  

```
val selectedOptionIndex: Int
```

Index of the option selected (i.e., at the center).