# ProgressIndicatorDefaults

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/ProgressIndicator.kt+class:androidx.compose.material3.ProgressIndicatorDefaults) Common/AllAndroid/JVM
- Cmn

  ```
  object ProgressIndicatorDefaults
  ```

*** ** * ** ***

Contains the default values used for `https://developer.android.com/reference/kotlin/androidx/compose/material3/LinearProgressIndicator.composable#LinearProgressIndicator(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.StrokeCap,androidx.compose.ui.unit.Dp,kotlin.Function1)` and `https://developer.android.com/reference/kotlin/androidx/compose/material3/CircularProgressIndicator.composable#CircularProgressIndicator(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.StrokeCap,androidx.compose.ui.unit.Dp)`.

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#drawStopIndicator(androidx.compose.ui.graphics.drawscope.DrawScope,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.StrokeCap)( drawScope: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope, stopSize: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, strokeCap: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap )` Draws the stop indicator at the end of the track. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#CircularDeterminateStrokeCap()` Default stroke cap for a determinate circular progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#CircularIndeterminateStrokeCap()` Default stroke cap for an indeterminate circular progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#CircularIndicatorTrackGapSize()` Default indicator track gap size for a circular progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#CircularStrokeWidth()` Default stroke width for a circular progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#LinearIndicatorTrackGapSize()` Default indicator track gap size for a linear progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#LinearStrokeCap()` Default stroke cap for a linear progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#LinearTrackStopIndicatorSize()` Default track stop indicator size for a linear progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/SpringSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#ProgressAnimationSpec()` The default `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec` that should be used when animating between progress in a determinate progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#circularColor()` Default color for a circular progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#circularDeterminateTrackColor()` Default track color for a circular determinate progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#circularIndeterminateTrackColor()` Default track color for a circular indeterminate progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#circularTrackColor()` **This property is deprecated.** Renamed to circularDeterminateTrackColor or circularIndeterminateTrackColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#linearColor()` Default color for a linear progress indicator. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ProgressIndicatorDefaults#linearTrackColor()` Default track color for a linear progress indicator. | Cmn |

## Public functions

### drawStopIndicator

Cmn

```
fun drawStopIndicator(
    drawScope: DrawScope,
    stopSize: Dp,
    color: Color,
    strokeCap: StrokeCap
): Unit
```

Draws the stop indicator at the end of the track.

| Parameters |
|---|---|
| `drawScope: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope` | the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope` |
| `stopSize: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | size of this stop indicator, it cannot be bigger than the track's height |
| `color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | color of this stop indicator |
| `strokeCap: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/StrokeCap` | stroke cap to use for the ends of this stop indicator |

## Public properties

### CircularDeterminateStrokeCap

Cmn

```
val CircularDeterminateStrokeCap: StrokeCap
```

Default stroke cap for a determinate circular progress indicator.

### CircularIndeterminateStrokeCap

Cmn

```
val CircularIndeterminateStrokeCap: StrokeCap
```

Default stroke cap for an indeterminate circular progress indicator.

### CircularIndicatorTrackGapSize

Cmn

```
val CircularIndicatorTrackGapSize: Dp
```

Default indicator track gap size for a circular progress indicator.

### CircularStrokeWidth

Cmn

```
val CircularStrokeWidth: Dp
```

Default stroke width for a circular progress indicator.

### LinearIndicatorTrackGapSize

Cmn

```
val LinearIndicatorTrackGapSize: Dp
```

Default indicator track gap size for a linear progress indicator.

### LinearStrokeCap

Cmn

```
val LinearStrokeCap: StrokeCap
```

Default stroke cap for a linear progress indicator.

### LinearTrackStopIndicatorSize

Cmn

```
val LinearTrackStopIndicatorSize: Dp
```

Default track stop indicator size for a linear progress indicator.

### ProgressAnimationSpec

Cmn

```
val ProgressAnimationSpec: SpringSpec<Float>
```

The default `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec` that should be used when animating between progress in a determinate progress indicator.

### circularColor

Cmn

```
val circularColor: Color
```

Default color for a circular progress indicator.

### circularDeterminateTrackColor

Cmn

```
val circularDeterminateTrackColor: Color
```

Default track color for a circular determinate progress indicator.

### circularIndeterminateTrackColor

Cmn

```
val circularIndeterminateTrackColor: Color
```

Default track color for a circular indeterminate progress indicator.

### circularTrackColor

Cmn

```
val circularTrackColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to circularDeterminateTrackColor or circularIndeterminateTrackColor, use this instead:
>
> ```kotlin
> ProgressIndicatorDefaults.circularIndeterminateTrackColor
> ```

Default track color for a circular progress indicator.

### linearColor

Cmn

```
val linearColor: Color
```

Default color for a linear progress indicator.

### linearTrackColor

Cmn

```
val linearTrackColor: Color
```

Default track color for a linear progress indicator.