country_code_conversion 1.0.4 copy "country_code_conversion: ^1.0.4" to clipboard
country_code_conversion: ^1.0.4 copied to clipboard

A project to convert country codes to country names and vice versa.

example/main.dart

import 'package:country_code_conversion/country_code_conversion.dart';

void main() {
  final countryCodeConversion = CountryCodeConversion();
  String? name = countryCodeConversion.getDisplayLanguageByCode("vi-VN");
  String? nameE =
      countryCodeConversion.getEnglishDisplayLanguageByCode("vi-VN");
  String? code = countryCodeConversion.getLanguageCodeByName("Tiếng Việt");
  String? codeE = countryCodeConversion.getLanguageCodeByName("Vietnamese");
  print(name);
  print(nameE);
  print(code);
  print(codeE);
}
4
likes
140
pub points
17%
popularity

Publisher

unverified uploader

A project to convert country codes to country names and vice versa.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on country_code_conversion