updateAxisStyle method

ChartTheme updateAxisStyle(
  1. AxisStyle update(
    1. AxisStyle current
    )
)

Rebuilds ChartTheme.axisStyle from its current value.

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

Implementation

ChartTheme updateAxisStyle(AxisStyle Function(AxisStyle current) update) =>
    copyWith(axisStyle: update(axisStyle));