PolygonPainter constructor
PolygonPainter({
- List<
Offset> ? points, - List<
List< ? holesPoints,Offset> > - bool? culling,
- bool? stroke,
- bool? isDotted,
- Color? strokeColor,
- double? strokeWidth,
- double? strokeOpacity,
- StrokeCap? strokeCap,
- StrokeJoin? strokeJoin,
- PathFillType? pathFillType,
- Color? fillColor,
- double? fillOpacity,
- List<
Color> ? gradientStrokeColors, - List<
double> ? gradientStrokeStops, - List<
Color> ? gradientFillColors, - 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,
});