LinearWavyProgressIndicatorSample
@Sampled
@Composable
fun LinearWavyProgressIndicatorSample() {
val progress = 0.5f
// Animate progress changes, as the indicator doesn't animate between values.
val animatedProgress by animateFloatAsState(targetValue = progress)
LinearWavyProgressIndicator(progress = { animatedProgress })
}
IndeterminateLinearWavyProgressIndicatorSample
@Sampled
@Composable
fun IndeterminateLinearWavyProgressIndicatorSample() {
LinearWavyProgressIndicator()
}