TexturedLinePainter(List<Point> _points, List<Color> colors, List<double> widths, [ Texture texture, List<double> textureStops ])

Creates a painter that draws a polyline with a texture.

Source

TexturedLinePainter(this._points, this.colors, this.widths, [Texture texture, this.textureStops]) {
  this.texture = texture;
}