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');
}
17
likes
130
pub points
96%
popularity

Publisher

unverified uploader

A dart library for converting country codes to emoji flags.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on emoji_flag_converter