Comments (3)
For default frame of the emoji, you just need select the emoji you want and change your font to "Noto Color Emoji"
For "red-heart" you can use the following:
Text('♥️',style: GoogleFonts.notoColorEmoji(fontSize: 60))
And for "broken-heart"
Text('💔',style: GoogleFonts.notoColorEmoji(fontSize: 60))
You can copy them from: https://fonts.google.com/noto/specimen/Noto+Color+Emoji/glyphs?coloronly=true
Also, you will need to add the Google Fonts package to you project: https://pub.dev/packages/google_fonts
from animated_emoji.
Yeah, that's a great solution for static emojis.
If you want to have full control of which frames are shown, you could use an Animation
for the controller
argument instead of the animate
argument (for example, an animation that starts at 0.2 instead of 0 to start at a different frame).
from animated_emoji.
Thank you for your suggestions.
I ended up using svg images to solve this because the file size of notoColorEmoji was too large in my case (I only needed 10-20 emoji).
from animated_emoji.
Related Issues (10)
- Flutter web HOT 5
- Please add all new emoji's from Noto Emoji HOT 1
- Is there a lower limit for the size of the emojis? HOT 1
- Flutter web some animation are failing HOT 1
- Is there any way of getting the emoji by it's camelCase name? HOT 2
- noto-emoji-animation has new emojis available HOT 9
- 💯 doesn't work while loading from assets HOT 1
- Upgrade lottie version from 2.7.0 to 3.0.0 HOT 1
- Include svgs in package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animated_emoji.