rememberVerticalLegend

fun <M : MeasuringContext, D : DrawingContext> rememberVerticalLegend(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSize: Dp = Defaults.LEGEND_ICON_SIZE.dp, iconLabelSpacing: Dp = Defaults.LEGEND_ICON_LABEL_SPACING.dp, rowSpacing: Dp = Defaults.LEGEND_ROW_SPACING.dp, padding: Dimensions = Dimensions.Empty): VerticalLegend<M, D>

Creates and remembers a VerticalLegend.