# PullToRefreshDefaults

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/pulltorefresh/PullToRefresh.kt+class:androidx.compose.material3.pulltorefresh.PullToRefreshDefaults) Common/All
- Cmn

  ```
  object PullToRefreshDefaults
  ```

*** ** * ** ***

Contains the default values for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshBox.composable#PullToRefreshBox(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.material3.pulltorefresh.PullToRefreshState,androidx.compose.ui.Alignment,kotlin.Function1,kotlin.Boolean,androidx.compose.ui.unit.Dp,kotlin.Function1)`

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)( state: https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState, isRefreshing: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, modifier: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier, containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, maxDistance: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp )` The default indicator for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshBox.composable#PullToRefreshBox(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.material3.pulltorefresh.PullToRefreshState,androidx.compose.ui.Alignment,kotlin.Function1,kotlin.Boolean,androidx.compose.ui.unit.Dp,kotlin.Function1)`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)( state: https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState, isRefreshing: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, modifier: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier, maxDistance: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/BoxScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` A Wrapper that handles the size, offset, clipping, shadow, and background drawing for a pull-to-refresh indicator, useful when implementing custom indicators. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/material3/ExperimentalMaterial3ExpressiveApi @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)( state: https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState, isRefreshing: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, modifier: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier, containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, maxDistance: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp )` A `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` indicator for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshBox.composable#PullToRefreshBox(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.material3.pulltorefresh.PullToRefreshState,androidx.compose.ui.Alignment,kotlin.Function1,kotlin.Boolean,androidx.compose.ui.unit.Dp,kotlin.Function1)`. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Elevation()` The default elevation for an `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` that is applied to an `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorMaxDistance()` The default maximum distance `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`, `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` and `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` can be pulled before a refresh is triggered. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicatorElevation()` The default elevation for an `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` that is applied to a `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#PositionalThreshold()` The default refresh threshold for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/rememberPullToRefreshState.composable#rememberPullToRefreshState()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#containerColor()` **This property is deprecated.** Use indicatorContainerColor instead | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#indicatorColor()` The default indicator color for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#indicatorContainerColor()` The default container color for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#indicatorShape()` The default shape for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `@https://developer.android.com/reference/kotlin/androidx/compose/material3/ExperimentalMaterial3ExpressiveApi https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#loadingIndicatorColor()` The default active indicator color for the loading indicator that appears when pulling to refresh. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `@https://developer.android.com/reference/kotlin/androidx/compose/material3/ExperimentalMaterial3ExpressiveApi https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#loadingIndicatorContainerColor()` The default container color for the loading indicator that appears when pulling to refresh. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#shape()` **This property is deprecated.** Use indicatorShape instead | Cmn |

## Public functions

### Indicator

Cmn

```
@Composable
fun Indicator(
    state: PullToRefreshState,
    isRefreshing: Boolean,
    modifier: Modifier = Modifier,
    containerColor: Color = this.indicatorContainerColor,
    color: Color = this.indicatorColor,
    maxDistance: Dp = IndicatorMaxDistance
): Unit
```

The default indicator for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshBox.composable#PullToRefreshBox(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.material3.pulltorefresh.PullToRefreshState,androidx.compose.ui.Alignment,kotlin.Function1,kotlin.Boolean,androidx.compose.ui.unit.Dp,kotlin.Function1)`.

| Parameters |
|---|---|
| `state: https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState` | the state of this modifier, will use `state.distanceFraction` and `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)` to calculate the offset |
| `isRefreshing: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether a refresh is occurring |
| `modifier: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier = Modifier` | the modifier applied to this layout |
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.indicatorContainerColor` | the container color of this indicator |
| `color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.indicatorColor` | the color of this indicator |
| `maxDistance: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = IndicatorMaxDistance` | the max distance the indicator can be pulled down before a refresh is triggered on release |

### IndicatorBox

Cmn

```
@Composable
fun IndicatorBox(
    state: PullToRefreshState,
    isRefreshing: Boolean,
    modifier: Modifier = Modifier,
    maxDistance: Dp = IndicatorMaxDistance,
    shape: Shape = indicatorShape,
    containerColor: Color = Color.Unspecified,
    elevation: Dp = Elevation,
    content: @Composable BoxScope.() -> Unit
): Unit
```

A Wrapper that handles the size, offset, clipping, shadow, and background drawing for a pull-to-refresh indicator, useful when implementing custom indicators. `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)` uses this as the container.

| Parameters |
|---|---|
| `state: https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState` | the state of this modifier, will use `state.distanceFraction` and `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` to calculate the offset |
| `isRefreshing: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether a refresh is occurring |
| `modifier: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier = Modifier` | the modifier applied to this layout |
| `maxDistance: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = IndicatorMaxDistance` | the max distance the indicator can be pulled down before a refresh is triggered on release |
| `shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape = indicatorShape` | the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` of this indicator |
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the container color of this indicator |
| `elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = Elevation` | the elevation for the indicator |
| `content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/BoxScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | content for this `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` |

### LoadingIndicator

Cmn

```
@ExperimentalMaterial3ExpressiveApi
@Composable
fun LoadingIndicator(
    state: PullToRefreshState,
    isRefreshing: Boolean,
    modifier: Modifier = Modifier,
    containerColor: Color = this.loadingIndicatorContainerColor,
    color: Color = this.loadingIndicatorColor,
    elevation: Dp = LoadingIndicatorElevation,
    maxDistance: Dp = IndicatorMaxDistance
): Unit
```

A `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` indicator for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshBox.composable#PullToRefreshBox(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.material3.pulltorefresh.PullToRefreshState,androidx.compose.ui.Alignment,kotlin.Function1,kotlin.Boolean,androidx.compose.ui.unit.Dp,kotlin.Function1)`.

| Parameters |
|---|---|
| `state: https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState` | the state of this modifier, will use `state.distanceFraction` and `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` to calculate the offset |
| `isRefreshing: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether a refresh is occurring |
| `modifier: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier = Modifier` | the modifier applied to this layout |
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.loadingIndicatorContainerColor` | the container color of this indicator |
| `color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = this.loadingIndicatorColor` | the color of this indicator |
| `elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = LoadingIndicatorElevation` | the elevation of this indicator |
| `maxDistance: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = IndicatorMaxDistance` | the max distance the indicator can be pulled down before a refresh is triggered on release |

## Public properties

### Elevation

Cmn

```
val Elevation: Dp
```

The default elevation for an `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` that is applied to an `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`

### IndicatorMaxDistance

Cmn

```
val IndicatorMaxDistance: Dp
```

The default maximum distance `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`, `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` and `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` can be pulled before a refresh is triggered.

### LoadingIndicatorElevation

Cmn

```
val LoadingIndicatorElevation: Dp
```

The default elevation for an `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#IndicatorBox(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,kotlin.Function1)` that is applied to a `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#LoadingIndicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)`

### PositionalThreshold

Cmn

```
val PositionalThreshold: Dp
```

The default refresh threshold for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/rememberPullToRefreshState.composable#rememberPullToRefreshState()`

### containerColor

Cmn

```
val containerColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Use indicatorContainerColor instead, use this instead:
>
> ```kotlin
> indicatorContainerColor
> ```

The default container color for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`

### indicatorColor

Cmn

```
val indicatorColor: Color
```

The default indicator color for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`

### indicatorContainerColor

Cmn

```
val indicatorContainerColor: Color
```

The default container color for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`

### indicatorShape

Cmn

```
val indicatorShape: Shape
```

The default shape for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`

### loadingIndicatorColor

Cmn

```
@ExperimentalMaterial3ExpressiveApi
val loadingIndicatorColor: Color
```

The default active indicator color for the loading indicator that appears when pulling to refresh.

### loadingIndicatorContainerColor

Cmn

```
@ExperimentalMaterial3ExpressiveApi
val loadingIndicatorContainerColor: Color
```

The default container color for the loading indicator that appears when pulling to refresh.

### shape

Cmn

```
val shape: Shape
```

> [!CAUTION]
> **This property is deprecated.**   
> Use indicatorShape instead, use this instead:
>
> ```kotlin
> indicatorShape
> ```

The default shape for `https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshDefaults#Indicator(androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)`