updateBarStyle method
- BarChartStyle update(
- BarChartStyle current
Rebuilds BarChartSeries.barStyle from its current value.
update receives the current BarChartStyle and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
BarChartSeries updateBarStyle(
BarChartStyle Function(BarChartStyle current) update,
) => copyWith(barStyle: update(barStyle));