updateDivergingStyle method

BarChartSeries updateDivergingStyle(
  1. BarDivergingStyle update(
    1. BarDivergingStyle current
    )
)

Rebuilds BarChartSeries.divergingStyle from its current value.

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

Implementation

BarChartSeries updateDivergingStyle(
  BarDivergingStyle Function(BarDivergingStyle current) update,
) => copyWith(divergingStyle: update(divergingStyle));