gradient property

LinearGradient? get gradient

Implementation

LinearGradient? get gradient => _gradient;
set gradient (LinearGradient? value)

Implementation

set gradient(LinearGradient? value) {
  if (_gradient != value) {
    _gradient = value;
    markNeedsLegendUpdate();
    markNeedsSegmentsPaint();
  }
}