updateStatusStyle method

GaugeCenterConfig updateStatusStyle(
  1. PolarLabelStyle update(
    1. PolarLabelStyle current
    )
)

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