updateTextStyle method

RadialBarCategoryLabelConfig updateTextStyle(
  1. PolarLabelStyle update(
    1. PolarLabelStyle current
    )
)

Rebuilds RadialBarCategoryLabelConfig.textStyle 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

RadialBarCategoryLabelConfig updateTextStyle(
  PolarLabelStyle Function(PolarLabelStyle current) update,
) => copyWith(textStyle: update(textStyle));