v1.1.0
country_code
ISO 3166-1 国家コードのリストを、列挙型に似たクラスとして提供し、パースおよびユーザー割り当てコード要素も含む
20いいね 4.8万30日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
ISO 3166-1 国コード用のDartパッケージ
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
List of ISO 3166-1 assigned country 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);
}
Please file feature requests and bugs at the issue tracker.
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗