setStrokeColorsWithWeights abstract method
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,
});