List of ISO 3166-1 assigned country codes.
- ISO 3166-1 alpha-2. alpha-3, and numeric country codes in enum-like class
- Support for user-assigned code elements
- Parsing of country codes from string
- Localized country names
- Country dial codes
import 'package:country_code/country_code.dart';
var code = CountryCode.tryParse("US");
if (code == CountryCode.US) {
print(code.alpha2);
print(code.alpha3);
print(code.numeric);
print(code.dialCode);
print(code.localizedName);
}
Please file feature requests and bugs at the issue tracker.