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