RadioBox

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

стиль компонента

onClick

слушатель нажатий

label

лейбл

description

описание

enabled

включен ли компонент

interactionSource

источник событий

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

стиль компонента

onClick

слушатель нажатий

labelContent

основной контент

descriptionContent

контент для описания

enabled

включен ли компонент

interactionSource

источник событий

motion

объект анимаций