CanvasRect constructor
const
CanvasRect({})
Creates a rectangle.
Implementation
const CanvasRect({
super.id,
super.name,
super.paint,
super.rotation,
super.locked,
super.hidden,
required this.x,
required this.y,
required this.width,
required this.height,
this.borderRadius = 0,
});