withGradient method

SolidGaugeStyle withGradient(
  1. GaugeGradientStyle value
)

Replaces SolidGaugeStyle.gradient with value.

Implementation

SolidGaugeStyle withGradient(GaugeGradientStyle value) =>
    copyWith(gradient: value);