updateLabelStyle method

GaugeReferenceStyle updateLabelStyle(
  1. PolarLabelStyle update(
    1. PolarLabelStyle current
    )
)

Rebuilds GaugeReferenceStyle.labelStyle 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

GaugeReferenceStyle updateLabelStyle(
  PolarLabelStyle Function(PolarLabelStyle current) update,
) => copyWith(labelStyle: update(labelStyle));