---
title: "apply"
description: "Apply [style] to the current [StyleScope]. Applying the scope calls the scope applies any
properties set in the scope directly."
type: "function"
---

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


<a id='references'></a>
<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. |




