updateShadow method

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

Rebuilds PieChartTheme.shadow 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 updateShadow(
  PieElevationStyle Function(PieElevationStyle current) update,
) => copyWith(shadow: update(shadow));