rect constructor
const
rect(})
The <rect> element is a basic SVG shape that draws rectangles, defined by their position, width, and height. The rectangles may have their corners rounded.
Implementation
const rect(
this.children, {
this.x,
this.y,
this.rx,
this.ry,
this.width,
this.height,
this.fill,
this.stroke,
this.strokeWidth,
this.id,
this.classes,
this.styles,
this.attributes,
this.events,
super.key,
});