AnimatedTonedEmojiData class

A description of an animated emoji that has variations with different skin tones.

By default, this uses a yellow skin tone.

Example

// Get a dark skin tone emoji
final emojiData = AnimatedEmojis.wave.dark
Inheritance

Constructors

AnimatedTonedEmojiData.new(String id, {required String name, String? baseId, SkinTone? skinTone, List<String> categories = const [], List<String> tags = const []})
A description of an animated emoji that has variations with different skin tones.
const

Properties

baseId String?
The base id of this emoji.
final
categories List<String>
The categories this emoji belongs to (e.g. ""Smileys and emotions"", "Travel and places", ...).
finalinherited
dark AnimatedTonedEmojiData
Emoji variation with a dark skin tone.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSkinTones bool
Wether this emoji has skin tone variations.
no setterinherited
id String
The identifier of the emoji.
finalinherited
light AnimatedTonedEmojiData
Emoji variation with a light skin tone.
no setter
medium AnimatedTonedEmojiData
Emoji variation with a medium skin tone.
no setter
mediumDark AnimatedTonedEmojiData
Emoji variation with a medium dark skin tone.
no setter
mediumLight AnimatedTonedEmojiData
Emoji variation with a medium light skin tone.
no setter
name String
The name of this emoji.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skinTone SkinTone?
The skin tone of this emoji.
final
tags List<String>
The tags associated with this emoji (e.g. ":smile:", ":grin:", ...).
finalinherited
variations List<AnimatedEmojiData>
All available skin tone variations for this emoji.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toUnicodeEmoji() String
Return the unicode emoji associated with this emoji.
inherited
withSkinTone(SkinTone skinTone) AnimatedEmojiData
Returns a variation of this emoji with skinTone.

Operators

operator ==(covariant AnimatedEmojiData other) bool
The equality operator.
inherited