path constructor

const path(
  1. List<Component> children, {
  2. String? d,
  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 <path> SVG element is the generic element to define a shape. All the basic shapes can be created with a path element.

Implementation

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