Composable Function

ContextualFlowColumn

ContextualFlowColumn is a specialized version of the FlowColumn layout.

ContextualFlowColMaxLineDynamicSeeMore

@OptIn(ExperimentalLayoutApi::class)
@Sampled
@Composable
fun ContextualFlowColMaxLineDynamicSeeMore() {
    val totalCount = 300
    var maxLines by remember { mutableStateOf(2) }

    Text(
        modifier = Modifier.fillMaxWidth(1f).padding(20.dp),
        text =
            "ContextualFlowColumn (based on Subcompose)" +
                " is great for Large Items & +N dynamic labels",
        fontWeight = FontWeight.Bold,
    )

    val moreOrCollapseIndicator =
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: