AnimatedEmoji constructor
const
AnimatedEmoji(})
A widget that shows an animated emoji.
emoji defines which emoji is displayed.
The animation is repeadedly played by default. Change this behavior with repeat and animate.
To load the animated emoji, a internet connection is required.
This example shows how to create a emoji that animates once.
const AnimatedEmoji(
AnimatedEmojis.smile,
size: 128,
repeat: false,
),
Implementation
const AnimatedEmoji(
this.emoji, {
this.size,
this.controller,
super.key,
this.repeat = true,
this.animate = true,
this.errorWidget,
this.onLoaded,
});