Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide a list of supported emojis with their code and images #15

Open
kamleshwebtech opened this issue Mar 10, 2021 · 3 comments

Comments

@kamleshwebtech
Copy link

Please provide a list of supported emojis with their code and images in description. Thanks a lot.

@Junama
Copy link

Junama commented Mar 28, 2022

@ebrahim2222
Copy link

how can i use it ?

@Junama
Copy link

Junama commented May 23, 2022

@ebrahim2222
I used like this.
String chipEmoji(dynamic cat) {
var parser = EmojiParser();
switch (cat.nombre.toLowerCase()) {
case "música":
return parser.get('notes').code;
case "online":
return parser.get('globe_with_meridians').code;
case "vida nocturna":
return parser.get('dancer').code;
case "vida sana":
return parser.get('green_heart').code;
case "ciudad verde":
return parser.get('deciduous_tree').code;
case "comercio":
return parser.get('shopping_bags').code;
case "cultura":
return parser.get('performing_arts').code;
case "gastronomía":
return parser.get('sushi').code;
case "aire libre":
return parser.get('runner').code;
case "arte":
return parser.get('art').code;
case "comunidad":
return parser.get('house_buildings').code;
case "chocolates y dulces":
return parser.get('chocolate_bar').code;
case "productos gourmet":
return parser.get('pie').code;
case "pescados y mariscos":
return parser.get('fish').code;
case "flores y plantas":
return parser.get('bouquet').code;
case "mascotas":
return parser.get('dog').code;
case "carnes":
return parser.get('meat_on_bone').code;
case "panadería y pastelería":
return parser.get('bread').code;
case "joyería y accesorios":
return parser.get('ring').code;
case "belleza y cosmética":
return parser.get('nail_care').code;
case "frutas y verduras":
return parser.get('avocado').code;
case "helados":
return parser.get('icecream').code;
case "jardín":
return parser.get('sunflower').code;
case "juegos y niños":
return parser.get('teddy_bear').code;
case "frutos secos":
return parser.get('peanuts').code;
case "productos lácteos":
return parser.get('cheese_wedge').code;
case "vinos y licores":
return parser.get('wine_glass').code;
case "regalos":
return parser.get('gift_heart').code;
case "té y café":
return parser.get('coffee').code;
case "deportes y outdoor":
return parser.get('camping').code;
default:
return parser.get('coffee').code;
}

But, i finally coordinate with the backend, and I called the emiji from there. Like this:

String chipEmoji(dynamic cat) {
var parser = EmojiParser();
return parser.get(cat.emoji).code;

CircleAvatar(
child: Text(chipEmoji(cat)),
backgroundColor:
Color(int.parse("FF${cat.segundoColor}", radix: 16)).withOpacity(1)
),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants