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