Flow Legend2
fun FlowLegend2(itemCount: Int, modifier: Modifier = Modifier, symbol: @Composable LegendScope.(item: Int) -> Unit = {}, label: @Composable LegendScope.(item: Int) -> Unit = {}, symbolGap: Dp = KoalaPlotTheme.sizes.gap, columnGap: Dp = KoalaPlotTheme.sizes.gap, rowGap: Dp = KoalaPlotTheme.sizes.gap)
Deprecated
Use FlowLegend
Replace with
FlowLegend(itemCount, modifier, symbol, label, symbolGap, columnGap, rowGap)Content copied to clipboard
A flow layout type of legend where each entry will take as much horizontal space as it requires, up to the maximum width of the component. Multiple legend entries will be placed in the same row until all horizontal space is consumed.