mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 10:38:41 +00:00
fix #373
This commit is contained in:
parent
70fbf6abbb
commit
5b2e91964f
39 changed files with 234 additions and 158 deletions
1
assets/animated_icons/alarm-clock.json
Normal file
1
assets/animated_icons/alarm-clock.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/ant.json
Normal file
1
assets/animated_icons/ant.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/automobile.json
Normal file
1
assets/animated_icons/automobile.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/beating-heart.json
Normal file
1
assets/animated_icons/beating-heart.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/bee.json
Normal file
1
assets/animated_icons/bee.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/burrito.json
Normal file
1
assets/animated_icons/burrito.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/cockroach.json
Normal file
1
assets/animated_icons/cockroach.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/crocodile.json
Normal file
1
assets/animated_icons/crocodile.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/crying-cat-face.json
Normal file
1
assets/animated_icons/crying-cat-face.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/fly.json
Normal file
1
assets/animated_icons/fly.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/guide-dog.json
Normal file
1
assets/animated_icons/guide-dog.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/heart-eyes-cat.json
Normal file
1
assets/animated_icons/heart-eyes-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/heart-grow.json
Normal file
1
assets/animated_icons/heart-grow.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/joy-cat.json
Normal file
1
assets/animated_icons/joy-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/kissing-cat.json
Normal file
1
assets/animated_icons/kissing-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/kissing-smiling-eyes.json
Normal file
1
assets/animated_icons/kissing-smiling-eyes.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/lady-bug.json
Normal file
1
assets/animated_icons/lady-bug.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/leg-mechanical.json
Normal file
1
assets/animated_icons/leg-mechanical.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/leg.json
Normal file
1
assets/animated_icons/leg.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/lizard.json
Normal file
1
assets/animated_icons/lizard.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/lobster.json
Normal file
1
assets/animated_icons/lobster.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/monkey.json
Normal file
1
assets/animated_icons/monkey.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/neutral-face.json
Normal file
1
assets/animated_icons/neutral-face.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/palms-up.json
Normal file
1
assets/animated_icons/palms-up.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/peacock.json
Normal file
1
assets/animated_icons/peacock.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/pouting-cat.json
Normal file
1
assets/animated_icons/pouting-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/rainbow.json
Normal file
1
assets/animated_icons/rainbow.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/revolving-hearts.json
Normal file
1
assets/animated_icons/revolving-hearts.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/scorpion.json
Normal file
1
assets/animated_icons/scorpion.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/scream-cat.json
Normal file
1
assets/animated_icons/scream-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/seal.json
Normal file
1
assets/animated_icons/seal.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/shark.json
Normal file
1
assets/animated_icons/shark.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/smile-cat.json
Normal file
1
assets/animated_icons/smile-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/smiley-cat.json
Normal file
1
assets/animated_icons/smiley-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/smirk-cat.json
Normal file
1
assets/animated_icons/smirk-cat.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/taxi.json
Normal file
1
assets/animated_icons/taxi.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/tiger.json
Normal file
1
assets/animated_icons/tiger.json
Normal file
File diff suppressed because one or more lines are too long
1
assets/animated_icons/volcano.json
Normal file
1
assets/animated_icons/volcano.json
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -26,164 +26,202 @@ class EmojiAnimation extends StatelessWidget {
|
||||||
final String emoji;
|
final String emoji;
|
||||||
final bool repeat;
|
final bool repeat;
|
||||||
static final Map<String, String> animatedIcons = {
|
static final Map<String, String> animatedIcons = {
|
||||||
'❤': 'red_heart.json',
|
"❤": "red_heart.json",
|
||||||
'😂': 'joy.json',
|
"😂": "joy.json",
|
||||||
'🔥': 'fire.json',
|
"🔥": "fire.json",
|
||||||
'💪': 'muscle.json',
|
"💪": "muscle.json",
|
||||||
'😭': 'loudly-crying.json',
|
"😭": "loudly-crying.json",
|
||||||
'🤯': 'mind-blown.json',
|
"🤯": "mind-blown.json",
|
||||||
'❤️🔥': 'red_heart_fire.json',
|
"❤️🔥": "red_heart_fire.json",
|
||||||
//'😁': 'grinning.json',
|
// "😁": "grinning.json",
|
||||||
'😆': 'laughing.json',
|
"😆": "laughing.json",
|
||||||
'😅': 'grin-sweat.json',
|
"😅": "grin-sweat.json",
|
||||||
'🤣': 'rofl.json',
|
"🤣": "rofl.json",
|
||||||
'😉': 'wink.json',
|
"😉": "wink.json",
|
||||||
'😘': 'kissing-heart.json',
|
"😙": "kissing-smiling-eyes.json",
|
||||||
'🥰': 'heart-face.json',
|
"😘": "kissing-heart.json",
|
||||||
'😍': 'heart-eyes.json',
|
"🥰": "heart-face.json",
|
||||||
'🤩': 'star-struck.json',
|
"😍": "heart-eyes.json",
|
||||||
'🥳': 'partying-face.json',
|
"🤩": "star-struck.json",
|
||||||
'🙃': 'upside-down-face.json',
|
"🥳": "partying-face.json",
|
||||||
'🥲': 'happy-cry.json',
|
"🙃": "upside-down-face.json",
|
||||||
'😊': 'blush.json',
|
"🥲": "happy-cry.json",
|
||||||
'😏': 'smirk.json',
|
"😊": "blush.json",
|
||||||
'🤤': 'drool.json',
|
"😏": "smirk.json",
|
||||||
'😋': 'yum.json',
|
"🤤": "drool.json",
|
||||||
'😛': 'stuck-out-tongue.json',
|
"😋": "yum.json",
|
||||||
'🤪': 'zany-face.json',
|
"😛": "stuck-out-tongue.json",
|
||||||
'🥴': 'woozy.json',
|
"🤪": "zany-face.json",
|
||||||
'😔': 'pensive.json',
|
"🥴": "woozy.json",
|
||||||
'🥺': 'pleading.json',
|
"😔": "pensive.json",
|
||||||
'😬': 'grimacing.json',
|
"🥺": "pleading.json",
|
||||||
'😑': 'expressionless.json',
|
"😬": "grimacing.json",
|
||||||
'🤐': 'zipper-face.json',
|
"😑": "expressionless.json",
|
||||||
'🤔': 'thinking-face.json',
|
"😐": "neutral-face.json",
|
||||||
'🥱': 'yawn.json',
|
"🤐": "zipper-face.json",
|
||||||
'🤗': 'hug-face.json',
|
"🤔": "thinking-face.json",
|
||||||
'😱': 'screaming.json',
|
"🥱": "yawn.json",
|
||||||
'🤨': 'raised-eyebrow.json',
|
"🤗": "hug-face.json",
|
||||||
'🧐': 'monocle.json',
|
"😱": "screaming.json",
|
||||||
'😒': 'unamused.json',
|
"🤨": "raised-eyebrow.json",
|
||||||
'🙄': 'rolling-eyes.json',
|
"🧐": "monocle.json",
|
||||||
'😤': 'triumph.json',
|
"😒": "unamused.json",
|
||||||
'🤬': 'cursing.json',
|
"🙄": "rolling-eyes.json",
|
||||||
'😞': 'sad.json',
|
"😤": "triumph.json",
|
||||||
'😢': 'cry.json',
|
"🤬": "cursing.json",
|
||||||
'🙁': 'frown.json',
|
"😞": "sad.json",
|
||||||
'😨': 'scared.json',
|
"😢": "cry.json",
|
||||||
'😳': 'flushed.json',
|
"🙁": "frown.json",
|
||||||
'😖': 'scrunched-mouth.json',
|
"😨": "scared.json",
|
||||||
'😵': 'x-eyes.json',
|
"😳": "flushed.json",
|
||||||
'🥶': 'cold-face.json',
|
"😖": "scrunched-mouth.json",
|
||||||
'🥵': 'hot-face.json',
|
"😵": "x-eyes.json",
|
||||||
'🤮': 'vomit.json',
|
"🥶": "cold-face.json",
|
||||||
'😴': 'sleep.json',
|
"🥵": "hot-face.json",
|
||||||
'🤒': 'thermometer-face.json',
|
"🤮": "vomit.json",
|
||||||
'🤕': 'bandage-face.json',
|
"😴": "sleep.json",
|
||||||
'🤥': 'liar.json',
|
"🤒": "thermometer-face.json",
|
||||||
'😇': 'halo.json',
|
"🤕": "bandage-face.json",
|
||||||
'🤠': 'cowboy.json',
|
"🤥": "liar.json",
|
||||||
'🤑': 'money-face.json',
|
"😇": "halo.json",
|
||||||
'🤓': 'nerd-face.json',
|
"🤠": "cowboy.json",
|
||||||
'😎': 'sunglasses-face.json',
|
"🤑": "money-face.json",
|
||||||
'🥸': 'disguise.json',
|
"🤓": "nerd-face.json",
|
||||||
'🤡': 'clown.json',
|
"😎": "sunglasses-face.json",
|
||||||
'💩': 'poop.json',
|
"🥸": "disguise.json",
|
||||||
'😈': 'imp-smile.json',
|
"🤡": "clown.json",
|
||||||
'👻': 'ghost.json',
|
"💩": "poop.json",
|
||||||
'💀': 'skull.json',
|
"😈": "imp-smile.json",
|
||||||
'⛄': 'snowman.json',
|
"👻": "ghost.json",
|
||||||
'🎃': 'jack-o-lantern.json',
|
"💀": "skull.json",
|
||||||
'🤖': 'robot.json',
|
"⛄": "snowman.json",
|
||||||
'👽': 'alien.json',
|
"🎃": "jack-o-lantern.json",
|
||||||
'🙈': 'see-no-evil-monkey.json',
|
"🤖": "robot.json",
|
||||||
'🙉': 'hear-no-evil-monkey.json',
|
"👽": "alien.json",
|
||||||
'🙊': 'speak-no-evil-monkey.json',
|
"😺": "smiley-cat.json",
|
||||||
'🌟': 'glowing-star.json',
|
"😸": "smile-cat.json",
|
||||||
'✨': 'sparkles.json',
|
"😹": "joy-cat.json",
|
||||||
'⚡': 'electricity.json',
|
"😻": "heart-eyes-cat.json",
|
||||||
'💥': 'collision.json',
|
"😼": "smirk-cat.json",
|
||||||
'💯': '100.json',
|
"😽": "kissing-cat.json",
|
||||||
'🎉': 'party-popper.json',
|
"🙀": "scream-cat.json",
|
||||||
'🎊': 'confetti-ball.json',
|
"😿": "crying-cat-face.json",
|
||||||
'🧡': 'orange-heart.json',
|
"😾": "pouting-cat.json",
|
||||||
'💛': 'yellow-heart.json',
|
"🙈": "see-no-evil-monkey.json",
|
||||||
'💚': 'green-heart.json',
|
"🙉": "hear-no-evil-monkey.json",
|
||||||
'💙': 'blue-heart.json',
|
"🙊": "speak-no-evil-monkey.json",
|
||||||
'💜': 'purple-heart.json',
|
"🌟": "glowing-star.json",
|
||||||
'💘': 'cupid.json',
|
"✨": "sparkles.json",
|
||||||
'💝': 'gift-heart.json',
|
"⚡": "electricity.json",
|
||||||
'💖': 'sparkling-heart.json',
|
"💥": "collision.json",
|
||||||
'💕': 'two-hearts.json',
|
"💯": "100.json",
|
||||||
'💔': 'broken-heart.json',
|
"🎉": "party-popper.json",
|
||||||
'💋': 'kiss.json',
|
"🎊": "confetti-ball.json",
|
||||||
'👀': 'eyes.json',
|
"🧡": "orange-heart.json",
|
||||||
'🦻': 'hearing-aid.json',
|
"💛": "yellow-heart.json",
|
||||||
'🦶': 'foot.json',
|
"💚": "green-heart.json",
|
||||||
'🦾': 'arm-mechanical.json',
|
"💙": "blue-heart.json",
|
||||||
'👏': 'clap.json',
|
"💜": "purple-heart.json",
|
||||||
'👍': 'thumbs-up.json',
|
"💘": "cupid.json",
|
||||||
'👎': 'thumbs-down.json',
|
"💝": "gift-heart.json",
|
||||||
'🙌': 'raising-hands.json',
|
"💖": "sparkling-heart.json",
|
||||||
'✊': 'raised-fist.json',
|
"💗": "heart-grow.json",
|
||||||
'👊': 'fist.json',
|
"💓": "beating-heart.json",
|
||||||
'👋': 'wave.json',
|
"💞": "revolving-hearts.json",
|
||||||
'🤘': 'metal.json',
|
"💕": "two-hearts.json",
|
||||||
'🤞': 'crossed-fingers.json',
|
"💔": "broken-heart.json",
|
||||||
'🤙': 'call-me-hand.json',
|
"💋": "kiss.json",
|
||||||
'👌': 'ok.json',
|
"👀": "eyes.json",
|
||||||
'🖕': 'middle-finger.json',
|
"🦻": "hearing-aid.json",
|
||||||
'🤝': 'handshake.json',
|
"🦶": "foot.json",
|
||||||
'💃': 'dancer-woman.json',
|
"🦵": "leg.json",
|
||||||
'🌱': 'plant.json',
|
"🦿": "leg-mechanical.json",
|
||||||
'🍃': 'leaves.json',
|
"🦾": "arm-mechanical.json",
|
||||||
'🍀': 'luck.json',
|
"👏": "clap.json",
|
||||||
'🌊': 'ocean.json',
|
"👍": "thumbs-up.json",
|
||||||
'💧': 'droplet.json',
|
"👎": "thumbs-down.json",
|
||||||
'🦄': 'unicorn.json',
|
"🙌": "raising-hands.json",
|
||||||
'🦖': 't-rex.json',
|
"🤲": "palms-up.json",
|
||||||
'🦕': 'dinosaur.json',
|
"✊": "raised-fist.json",
|
||||||
'🐢': 'turtle.json',
|
"👊": "fist.json",
|
||||||
'🐍': 'snake.json',
|
"👋": "wave.json",
|
||||||
'🐩': 'poodle.json',
|
"🤘": "metal.json",
|
||||||
'🐕': 'dog.json',
|
"🤞": "crossed-fingers.json",
|
||||||
'🐖': 'pig.json',
|
"🤙": "call-me-hand.json",
|
||||||
'🦘': 'kangaroo.json',
|
"👌": "ok.json",
|
||||||
'🦍': 'gorilla.json',
|
"🖕": "middle-finger.json",
|
||||||
'🦧': 'orangutan.json',
|
"🤝": "handshake.json",
|
||||||
'🦦': 'otter.json',
|
"💃": "dancer-woman.json",
|
||||||
'🐓': 'rooster.json',
|
"🌱": "plant.json",
|
||||||
'🦅': 'eagle.json',
|
"🍃": "leaves.json",
|
||||||
'🦉': 'owl.json',
|
"🍀": "luck.json",
|
||||||
'🐬': 'dolphin.json',
|
"🌋": "volcano.json",
|
||||||
'🐳': 'whale.json',
|
"🌈": "rainbow.json",
|
||||||
'🐟': 'fish.json',
|
"🌊": "ocean.json",
|
||||||
'🐡': 'blowfish.json',
|
"💧": "droplet.json",
|
||||||
'🦀': 'crab.json',
|
"🦄": "unicorn.json",
|
||||||
'🐙': 'octopus.json',
|
"🦎": "lizard.json",
|
||||||
'🐌': 'snail.json',
|
"🦖": "t-rex.json",
|
||||||
'🍻': 'clinking-beer-mugs.json',
|
"🦕": "dinosaur.json",
|
||||||
'🍾': 'bottle-with-popping-cork.json',
|
"🐢": "turtle.json",
|
||||||
'🚨': 'police-car-light.json',
|
"🐊": "crocodile.json",
|
||||||
'🛸': 'flying-saucer.json',
|
"🐍": "snake.json",
|
||||||
'🚀': 'rocket.json',
|
"🐩": "poodle.json",
|
||||||
'🛫': 'airplane-departure.json',
|
"🐕": "dog.json",
|
||||||
'🎢': 'roller-coaster.json',
|
"🦮": "guide-dog.json",
|
||||||
'🎡': 'ferris-wheel.json',
|
"🐖": "pig.json",
|
||||||
'🎈': 'balloon.json',
|
"🦘": "kangaroo.json",
|
||||||
'🎁': 'wrapped-gift.json',
|
"🐅": "tiger.json",
|
||||||
'🎆': 'fireworks.json',
|
"🐒": "monkey.json",
|
||||||
'💸': 'money-with-wings.json',
|
"🦍": "gorilla.json",
|
||||||
'💎': 'gem-stone.json',
|
"🦧": "orangutan.json",
|
||||||
'🎓': 'graduation-cap.json',
|
"🦦": "otter.json",
|
||||||
'🔔': 'bell.json',
|
"🐓": "rooster.json",
|
||||||
'💣': 'bomb.json',
|
"🦅": "eagle.json",
|
||||||
'❗': 'exclamation.json',
|
"🦉": "owl.json",
|
||||||
'❓': 'question.json',
|
"🦚": "peacock.json",
|
||||||
'❌': 'cross-mark.json',
|
"🦭": "seal.json",
|
||||||
'🏁': 'chequered-flag.json',
|
"🦈": "shark.json",
|
||||||
'🚩': 'triangular-flag.json',
|
"🐬": "dolphin.json",
|
||||||
'🏴': 'black-flag.json',
|
"🐳": "whale.json",
|
||||||
|
"🐟": "fish.json",
|
||||||
|
"🐡": "blowfish.json",
|
||||||
|
"🦞": "lobster.json",
|
||||||
|
"🦀": "crab.json",
|
||||||
|
"🐙": "octopus.json",
|
||||||
|
"🦂": "scorpion.json",
|
||||||
|
"🐌": "snail.json",
|
||||||
|
"🐜": "ant.json",
|
||||||
|
"🪳": "cockroach.json",
|
||||||
|
"🪰": "fly.json",
|
||||||
|
"🐝": "bee.json",
|
||||||
|
"🐞": "lady-bug.json",
|
||||||
|
"🌯": "burrito.json",
|
||||||
|
"🍻": "clinking-beer-mugs.json",
|
||||||
|
"🍾": "bottle-with-popping-cork.json",
|
||||||
|
"🚨": "police-car-light.json",
|
||||||
|
"🚗": "automobile.json",
|
||||||
|
"🚕": "taxi.json",
|
||||||
|
"🛸": "flying-saucer.json",
|
||||||
|
"🚀": "rocket.json",
|
||||||
|
"🛫": "airplane-departure.json",
|
||||||
|
"🎢": "roller-coaster.json",
|
||||||
|
"🎡": "ferris-wheel.json",
|
||||||
|
"🎈": "balloon.json",
|
||||||
|
"🎁": "wrapped-gift.json",
|
||||||
|
"🎆": "fireworks.json",
|
||||||
|
"💸": "money-with-wings.json",
|
||||||
|
"💎": "gem-stone.json",
|
||||||
|
"🎓": "graduation-cap.json",
|
||||||
|
"⏰": "alarm-clock.json",
|
||||||
|
"🔔": "bell.json",
|
||||||
|
"💣": "bomb.json",
|
||||||
|
"❗": "exclamation.json",
|
||||||
|
"❓": "question.json",
|
||||||
|
"❌": "cross-mark.json",
|
||||||
|
"🏁": "chequered-flag.json",
|
||||||
|
"🚩": "triangular-flag.json",
|
||||||
|
"🏴": "black-flag.json",
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool supported(String emoji) {
|
static bool supported(String emoji) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue