PaintingLayerData constructor

PaintingLayerData({
  1. required PaintedModel item,
  2. required Size rawSize,
  3. Offset? offset,
  4. double? rotation,
  5. double? scale,
  6. String? id,
  7. bool? flipX,
  8. bool? flipY,
})

Creates an instance of PaintingLayerData.

The item and rawSize parameters are required, and other properties are optional.

Implementation

PaintingLayerData({
  required this.item,
  required this.rawSize,
  super.offset,
  super.rotation,
  super.scale,
  super.id,
  super.flipX,
  super.flipY,
});