emoji_flag_converter 1.1.0 copy "emoji_flag_converter: ^1.1.0" to clipboard
emoji_flag_converter: ^1.1.0 copied to clipboard

A dart library for converting country codes to emoji flags.

example/main.dart

import 'dart:io';

import 'package:emoji_flag_converter/emoji_flag_converter.dart';

void main() {
  print('Enter a country\'s alpha 2 code: ');
  var input = stdin.readLineSync()!;

  var result = EmojiConverter.fromAlpha2CountryCode(input);
  print('And here is your result: $result');
}
copied to clipboard
17
likes
140
points
36.5k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.15 - 2025.03.30

A dart library for converting country codes to emoji flags.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on emoji_flag_converter