CanvasObject constructor
const
CanvasObject({
- String? id,
- String? name,
- CanvasPaint paint = const CanvasPaint(),
- double rotation = 0,
- bool locked = false,
Creates a retained canvas object.
Implementation
const CanvasObject({
this.id,
this.name,
this.paint = const CanvasPaint(),
this.rotation = 0,
this.locked = false,
this.hidden = false,
});