updateLabelStyle method

BarChartSeries updateLabelStyle(
  1. BarLabelStyle update(
    1. BarLabelStyle current
    )
)

Rebuilds BarChartSeries.labelStyle from its current value.

update receives the current BarLabelStyle and returns the replacement, so nested configuration is edited without re-stating the enclosing config.

Implementation

BarChartSeries updateLabelStyle(
  BarLabelStyle Function(BarLabelStyle current) update,
) => copyWith(labelStyle: update(labelStyle));