LinearProgressIndicator

fun LinearProgressIndicator(progress: () -> Float, modifier: Modifier = Modifier)

Progress indicators express an unspecified wait time or display the duration of a process.

By default there is no animation between progress values. You can use ProgressIndicatorDefaults.ProgressAnimationSpec as the default recommended AnimationSpec when animating progress

Parameters

progress

the progress of this progress indicator, where 0.0 represents no progress and 1.0 represents full progress. Values outside of this range are coerced into the range.

modifier

the Modifier to be applied to this progress indicator