Radio Box
fun RadioBox(checked: Boolean, modifier: Modifier = Modifier, style: RadioBoxStyle = LocalRadioBoxStyle.current, onClick: () -> Unit? = null, label: String? = null, description: String? = null, enabled: Boolean = true, animationDuration: Int = Int.MIN_VALUE, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<RadioBoxMotionStyle> = rememberRadioBoxMotion(
motionContext = rememberMotionContext(interactionSource),
))
Компонент RadioBox
Parameters
checked
флаг-индикатор выбора
modifier
модификатор
style
стиль компонента
on Click
слушатель нажатий
label
лейбл
description
описание
enabled
включен ли компонент
interaction Source
источник событий
motion
объект анимаций
fun RadioBox(checked: Boolean, labelContent: @Composable () -> Unit, modifier: Modifier = Modifier, style: RadioBoxStyle = LocalRadioBoxStyle.current, onClick: () -> Unit? = null, descriptionContent: @Composable () -> Unit? = null, enabled: Boolean = true, animationDuration: Int = Int.MIN_VALUE, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<RadioBoxMotionStyle> = rememberRadioBoxMotion(
motionContext = rememberMotionContext(interactionSource),
))
Компонент RadioBox
Parameters
checked
флаг-индикатор выбора
modifier
модификатор
style
стиль компонента
on Click
слушатель нажатий
label Content
основной контент
description Content
контент для описания
enabled
включен ли компонент
interaction Source
источник событий
motion
объект анимаций