LinearProgressIndicator
Shows progress along a horizontal track.
Properties
Preview
Generated Code
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.LinearProgressIndicator
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
fun MyLinearProgress() {
LinearProgressIndicator(
progress = { 0.75f },
modifier = Modifier.fillMaxWidth()
)
}