emoji_flag_converter 1.0.0
emoji_flag_converter: ^1.0.0 copied to clipboard

Flutter Android iOS Linux macOS web Windows

A new Flutter package project.

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');
}