updateTargetStyle method
- PolarLabelStyle update(
- PolarLabelStyle current
Rebuilds GaugeCenterConfig.targetStyle 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 updateTargetStyle(
PolarLabelStyle Function(PolarLabelStyle current) update,
) => copyWith(targetStyle: update(targetStyle));