EmojiLayerData constructor

EmojiLayerData({
  1. required String emoji,
  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 EmojiLayerData.

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

Implementation

EmojiLayerData({
  required this.emoji,
  super.offset,
  super.rotation,
  super.scale,
  super.id,
  super.flipX,
  super.flipY,
  super.enableInteraction,
});