Start native apps faster with the Composables CLI ->
Object

ProgressIndicatorDefaults

Contains the default values used for CircularProgressIndicator.

Source set: Android
public object ProgressIndicatorDefaults

Contains the default values used for CircularProgressIndicator.

Properties

StrokeWidth

Source set: Android
public val StrokeWidth: Dp = 4.dp

Default stroke width for CircularProgressIndicator

This can be customized with the strokeWidth parameter on CircularProgressIndicator

IndeterminateStrokeWidth

Source set: Android
public val IndeterminateStrokeWidth: Dp = 3.dp

Default stroke width for indeterminate CircularProgressIndicator

This can be customized with the strokeWidth parameter on CircularProgressIndicator

FullScreenStrokeWidth

Source set: Android
public val FullScreenStrokeWidth: Dp = 5.dp

Stroke width for full screen CircularProgressIndicator

This can be customized with the strokeWidth parameter on CircularProgressIndicator

ProgressAnimationSpec

Source set: Android
public val ProgressAnimationSpec: SpringSpec<Float> =
        SpringSpec(
            dampingRatio = Spring.DampingRatioNoBouncy,
            stiffness = Spring.StiffnessVeryLow,
            // The default threshold is 0.01, or 1% of the overall progress range, which is quite
            // large and noticeable.
            visibilityThreshold = 1 / 1000f,
        )

The default AnimationSpec that should be used when animating between progress in a determinate progress indicator.