updateSelectedElevation method

PieChartTheme updateSelectedElevation(
  1. PieElevationStyle update(
    1. PieElevationStyle current
    )
)

Rebuilds PieChartTheme.selectedElevation from its current value.

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

Implementation

PieChartTheme updateSelectedElevation(
  PieElevationStyle Function(PieElevationStyle current) update,
) => copyWith(selectedElevation: update(selectedElevation));