AdaptiveMetricLayout

fun AdaptiveMetricLayout(chartPart: @Composable (Modifier) -> Unit, listPart: @Composable (Modifier) -> Unit, modifier: Modifier = Modifier, isChartExpanded: Boolean = false)(source)

An adaptive layout for metric screens. Uses a split Row for wide screens (tablets/landscape) and a stacked Column for narrow screens (phones). When isChartExpanded is true, the card list is hidden and the chart fills the available space.