<div class='type'>Function</div>


<a id='references'></a>


<h2 id="apply-style">apply</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalFoundationStyleApi
fun StyleScope.apply(style: Style)
```


Apply `style` to the current `StyleScope`. Applying the scope calls the scope applies any
properties set in the scope directly.

#### Parameters

| | |
| --- | --- |
| style | the style to apply. |