country_code_conversion 1.0.2 country_code_conversion: ^1.0.2 copied to clipboard
A project to convert country codes to country names and vice versa.
country_code_conversion #
Currently support 54 languages.
Usage #
import 'package:country_code_conversion/country_code_conversion.dart';
final countryCodeConversion = CountryCodeConversion();
String? name = await countryCodeConversion.getDisplayLanguageByCode("vi-VN");
String? nameE = await countryCodeConversion.getEnglishDisplayLanguageByCode("vi-VN");
String? code = await countryCodeConversion.getLanguageCodeByName("Tiếng Việt");
String? codeE = await countryCodeConversion.getLanguageCodeByName("Vietnamese");
}