Progress Bar
fun ProgressBar(progress: Float, modifier: Modifier = Modifier, style: ProgressBarStyle = LocalProgressBarStyle.current, interactionSource: InteractionSource = remember { MutableInteractionSource() })
Компонент ProgressBar.
Parameters
progress
значение прогресса от 0.0 до 1.0
modifier
модификатор
style
стиль компонента
interaction Source
источник взаимодействия
fun ProgressBar(motion: Motion<ProgressBarMotionStyle>, progress: Float, modifier: Modifier = Modifier, style: ProgressBarStyle = LocalProgressBarStyle.current)
Компонент ProgressBar.
Parameters
motion
объект анимаций
progress
значение прогресса от 0.0 до 1.0
modifier
модификатор
style
стиль компонента