updateCategoryLabels method
- RadialBarCategoryLabelConfig update(
- RadialBarCategoryLabelConfig current
Rebuilds RadialBarChartConfig.categoryLabels from its current value.
update receives the current RadialBarCategoryLabelConfig and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
RadialBarChartConfig updateCategoryLabels(
RadialBarCategoryLabelConfig Function(RadialBarCategoryLabelConfig current)
update,
) => copyWith(categoryLabels: update(categoryLabels));