Search packages, repositories and app categories

GitHub repositoryflikkr/emoji_flag_converter

emoji_flag_converter

A simple dart package to convert alpha 2 country codes (SG) to emoji flags 🇸🇬 🤟

emoji_flag_converter project cover
Stars
0
Forks
2
Last push (UTC)
Feb 3, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

🏴 emoji_flag_converter 🏳️

A simple dart package to convert alpha 2 country codes (SG) to emoji flags 🇸🇬 🤟

Usage

Import the class into your dart file.

import 'package:emoji_flag_converter/emoji_flag_converter.dart';

Then you can call it in your code like this to get the emoji flag in return.

String convertToEmoji(String countryCode) {
  return EmojiConverter.fromAlpha2CountryCode(code);
}

And that's it!

Kazymir Rabier GitHub avatar
GitHub author

Kazymir Rabier ↗

I like building stuff.

@AikidoSec Singapore
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 1 items

  • testDevelopment^1.17.8

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗