PaintingLayerData constructor
PaintingLayerData({})
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,
Offset? offset,
double? opacity,
double? rotation,
double? scale,
String? id,
bool? flipX,
bool? flipY,
}) : super(
offset: offset,
opacity: opacity,
rotation: rotation,
scale: scale,
id: id,
flipX: flipX,
flipY: flipY,
);