v1.3.1
us_states
一個簡單的 Dart 庫,用於處理州名和縮寫。
12喜歡 2.9萬近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個簡單的 Dart 庫,用於處理州名和縮寫。
以下為英文專案原文快照,最新內容請造訪 GitHub。
Simple Dart library to deal with state names and abbreviations.
Add the following to dependencies section in your pubspec.yml:
us_states: ^1.3.1
Returns null if not found.
USStates.getName("IA");
// returns "Iowa"
Returns null if not found.
USStates.getAbbreviation("Iowa");
// returns "IA"
USStates.getAllNames();
// returns ["Alaska", "Alabama", ...]
USStates.getAllAbbreviations();
// returns ["AK", "AL", ...]
USStates.getAbbreviationMap();
// returns {"AK": "Alaska", "AL": "Alabama", ...}
USStates.getNameMap();
// returns {"Alaska": "AK", "Alabama": "AL", ...}
依賴清單 3 項
^1.15.0^1.21.0^6.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗