PolygonPainter constructor

PolygonPainter({
  1. List<Offset>? points,
  2. List<List<Offset>>? holesPoints,
  3. bool? culling,
  4. bool? stroke,
  5. bool? isDotted,
  6. Color? strokeColor,
  7. double? strokeWidth,
  8. double? strokeOpacity,
  9. StrokeCap? strokeCap,
  10. StrokeJoin? strokeJoin,
  11. PathFillType? pathFillType,
  12. Color? fillColor,
  13. double? fillOpacity,
  14. List<Color>? gradientStrokeColors,
  15. List<double>? gradientStrokeStops,
  16. List<Color>? gradientFillColors,
  17. List<double>? gradientFillStops,
})

Implementation

PolygonPainter({
  this.points,
  this.holesPoints,
  this.culling,
  this.stroke,
  this.isDotted,
  this.strokeColor,
  this.strokeWidth,
  this.strokeOpacity,
  this.strokeCap,
  this.strokeJoin,
  this.pathFillType,
  this.fillColor,
  this.fillOpacity,
  this.gradientStrokeColors,
  this.gradientStrokeStops,
  this.gradientFillColors,
  this.gradientFillStops,
});