polygon constructor

const polygon(
  1. List<Component> children, {
  2. String? points,
  3. Color? fill,
  4. Color? stroke,
  5. String? strokeWidth,
  6. String? id,
  7. String? classes,
  8. Styles? styles,
  9. Map<String, String>? attributes,
  10. Map<String, EventCallback>? events,
  11. Key? key,
})

The <polygon> element defines a closed shape consisting of a set of connected straight line segments. The last point is connected to the first point.

Implementation

const polygon(
  this.children, {
  this.points,
  this.fill,
  this.stroke,
  this.strokeWidth,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});