Animated Emoji
Provides over 300 animated emojis for your app.
Usage
Just use the AnimatedEmoji widget anywhere in your application and choose an emoji.
const AnimatedEmoji(
AnimatedEmojis.rocket,
),
You can also load the emoji from assets. (This is required on web due to CORS)
First, import the emoji to your pubspec.yaml
. The names can be found here.
...
flutter:
assets:
- packages/animated_emoji/lottie/rocket.json
- packages/animated_emoji/lottie/clapDark.json
Configure the widget to your needs.
AnimatedEmoji(
AnimatedEmojis.clapDark,
size: 128,
repeat: false,
),
Additional information
On Web due to CORS you need to forcefully load lottie from asset.
This package uses Noto Animated Emoji which is licensed under CC BY 4.0.
Libraries
- animated_emoji
- Library for using
AnimatedEmoji
. - emoji
- emojis