AdaptiveMetricLayout
fun AdaptiveMetricLayout(chartPart: @Composable (Modifier) -> Unit, listPart: @Composable (Modifier) -> Unit, modifier: Modifier = Modifier, isChartExpanded: Boolean = false)(source)
An adaptive layout for metric screens. Splits side-by-side when calculatePaneScaffoldDirective allows more than one horizontal partition, and stacks otherwise. When isChartExpanded is true, the card list is hidden and the chart fills the available space.