<div class='type'>Composable Component</div>



The default indicator for Compose pull-to-refresh, based on Android's SwipeRefreshLayout.

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



<h2 id="pullrefreshindicator-refreshing-state-modifier-backgroundcolor-contentcolor-scale">PullRefreshIndicator</h2>

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


```kotlin
@Composable
@ExperimentalMaterialApi
fun PullRefreshIndicator(
    refreshing: Boolean,
    state: PullRefreshState,
    modifier: Modifier = Modifier,
    backgroundColor: Color = MaterialTheme.colors.surface,
    contentColor: Color = contentColorFor(backgroundColor),
    scale: Boolean = false,
)
```


#### Parameters

| | |
| --- | --- |
| refreshing | A boolean representing whether a refresh is occurring. |
| state | The `PullRefreshState` which controls where and how the indicator will be drawn. |
| modifier | Modifiers for the indicator. |
| backgroundColor | The color of the indicator's background. |
| contentColor | The color of the indicator's arc and arrow. |
| scale | A boolean controlling whether the indicator's size scales with pull progress or not. |