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,
  8. bool? enableInteraction,
})

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,
  super.enableInteraction,
});