LinearProgressIndicator

fun LinearProgressIndicator(@FloatRange(from = 0.0, to = 1.0) progress: Float, modifier: Modifier = Modifier, color: Color = OrbitTheme.colors.primary.strong, backgroundColor: Color = OrbitTheme.colors.surface.normal, progressAnimationSpec: AnimationSpec<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. We purposefully choose a smaller threshold. visibilityThreshold = 1 / 1000f, ))

Linear progress indicator.

Renders progress indicator in maximum available width with animated progress change.