Make gapSize negative and it makes the progress bar smooth.
LinearProgressIndicator( modifier = Modifier .height(18.dp) .fillMaxWidth(), progress = { progress }, gapSize = (-30).dp )