setStrokeColorsWithWeights abstract method

void setStrokeColorsWithWeights({
  1. required List<int> colors,
  2. required List<double> weights,
})

Sets indexes of colors in palette for line segments. Weights are used for generalization of colors. By default, all segments use palette index 0.

Implementation

void setStrokeColorsWithWeights({
  required core.List<core.int> colors,
  required core.List<core.double> weights,
});