updateSelectionStyle method

DonutChartSeries updateSelectionStyle(
  1. RadialSelectionStyle update(
    1. RadialSelectionStyle current
    )
)

Rebuilds DonutChartSeries.selectionStyle from its current value.

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

Implementation

DonutChartSeries updateSelectionStyle(
  RadialSelectionStyle Function(RadialSelectionStyle current) update,
) => copyWith(selectionStyle: update(selectionStyle));