Cell

fun Cell(modifier: Modifier = Modifier, style: CellStyle = LocalCellStyle.current, gravity: CellGravity = CellGravity.Center, title: AnnotatedString = AnnotatedString(""), subtitle: AnnotatedString = AnnotatedString(""), label: AnnotatedString = AnnotatedString(""), disclosureContentEnabled: Boolean = false, disclosureIconRes: Int?, disclosureText: AnnotatedString = AnnotatedString(""), startContent: @Composable RowScope.() -> Unit? = null, endContent: @Composable RowScope.() -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<CellMotionStyle> = rememberCellMotion(motionContext = rememberMotionContext(interactionSource)))

Deprecated

Use Cell with disclosureIconSource

Replace with

Cell(disclosureIconSource = resourceImageSource(disclosureIconRes))
fun Cell(modifier: Modifier = Modifier, style: CellStyle = LocalCellStyle.current, gravity: CellGravity = CellGravity.Center, labelContent: @Composable () -> Unit? = null, titleContent: @Composable () -> Unit? = null, subtitleContent: @Composable () -> Unit? = null, disclosureContent: @Composable RowScope.() -> Unit? = null, startContent: @Composable RowScope.() -> Unit? = null, endContent: @Composable RowScope.() -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<CellMotionStyle> = rememberCellMotion( motionContext = rememberMotionContext(interactionSource), ))

Компонент Cell.

Parameters

modifier

модификатор

style

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

gravity

режим выравнивания контента по вертикали

titleContent

тайтл

labelContent

лэйбл

subtitleContent

сабтайтл

disclosureContent

контент disclosure

startContent

контент в начале

endContent

контент в конце

interactionSource

источник взаимодействий

motion

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


fun Cell(modifier: Modifier = Modifier, style: CellStyle = LocalCellStyle.current, gravity: CellGravity = CellGravity.Center, title: AnnotatedString = AnnotatedString(""), subtitle: AnnotatedString = AnnotatedString(""), label: AnnotatedString = AnnotatedString(""), disclosureContentEnabled: Boolean = false, disclosureIconSource: ImageSource? = null, disclosureText: AnnotatedString = AnnotatedString(""), startContent: @Composable RowScope.() -> Unit? = null, endContent: @Composable RowScope.() -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<CellMotionStyle> = rememberCellMotion( motionContext = rememberMotionContext(interactionSource), ))

Компонент Cell.

Parameters

modifier

модификатор

style

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

gravity

режим выравнивания контента по вертикали

title

тайтл

label

лэйбл

subtitle

сабтайтл

disclosureContentEnabled

Включает/выключает отображение disclosure (Текст + иконка)

disclosureText

текст disclosure

disclosureIconSource

источник иконки disclosure

startContent

контент в начале

endContent

контент в конце

interactionSource

источник взаимодействий


fun Cell(modifier: Modifier = Modifier, style: CellStyle = LocalCellStyle.current, gravity: CellGravity = CellGravity.Center, disclosureEnabled: Boolean = false, disclosureContent: @Composable RowScope.() -> Unit? = null, startContent: @Composable RowScope.() -> Unit? = null, centerContent: @Composable ColumnScope.() -> Unit? = null, endContent: @Composable RowScope.() -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<CellMotionStyle> = rememberCellMotion( motionContext = rememberMotionContext(interactionSource), ))

Компонент Cell.

Parameters

modifier

модификатор

style

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

gravity

режим выравнивания контента по вертикали

disclosureEnabled

Включает/выключает отображение disclosure (Текст + иконка)

disclosureContent

контент disclosure

centerContent

контент в центре

startContent

контент в начале

endContent

контент в конце

interactionSource

источник взаимодействий


fun Cell(modifier: Modifier = Modifier, style: CellStyle = LocalCellStyle.current, gravity: CellGravity = CellGravity.Center, title: AnnotatedString = AnnotatedString(""), subtitle: AnnotatedString = AnnotatedString(""), label: AnnotatedString = AnnotatedString(""), disclosureEnabled: Boolean = false, disclosureIcon: Painter? = null, disclosureText: AnnotatedString = AnnotatedString(""), startContent: @Composable RowScope.() -> Unit? = null, endContent: @Composable RowScope.() -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

Deprecated

Use Cell with disclosureIconRes

Компонент Cell.

Parameters

modifier

модификатор

style

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

gravity

режим выравнивания контента по вертикали

title

тайтл

label

лэйбл

subtitle

сабтайтл

disclosureEnabled

Включает/выключает отображение disclosure (Текст + иконка)

disclosureText

текст disclosure

disclosureIcon

иконка disclosure

startContent

контент в начале

endContent

контент в конце

interactionSource

источник взаимодействий