withGradient method

DonutChartStyle withGradient(
  1. PieGradientStyle value
)

Replaces DonutChartStyle.gradient with value.

Implementation

DonutChartStyle withGradient(PieGradientStyle value) =>
    copyWith(gradient: value);