StickerLayerData constructor

StickerLayerData({
  1. required Widget sticker,
  2. Offset? offset,
  3. double? rotation,
  4. double? scale,
  5. String? id,
  6. bool? flipX,
  7. bool? flipY,
})

Creates an instance of StickerLayerData.

The sticker parameter is required, and other properties are optional.

Implementation

StickerLayerData({
  required this.sticker,
  super.offset,
  super.rotation,
  super.scale,
  super.id,
  super.flipX,
  super.flipY,
});