FLUTTER ECOSYSTEM

denixport/dart.country

ISO 3166-1 देश कोड के लिए डार्ट पैकेज

dart.country प्रोजेक्ट कवर
Stars
12
Forks
5
अंतिम पुश (UTC)
1 सित॰ 2024
प्रोजेक्ट स्थिति
सक्रिय
Denis Portnov GitHub avatar
GITHUB User

Denis Portnov ↗

भाषाएँDart

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • testडेवलपमेंट^1.25.8
  • lintsडेवलपमेंट^4.0.0

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

List of ISO 3166-1 assigned country codes.

pub package License

Features

  • [x] ISO 3166-1 alpha-2. alpha-3, and numeric country codes in enum-like class
  • [x] Parsing of country codes from string
  • [x] Support for user-assigned code elements

Usage

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);
}

See more examples

Bugs and feature requests

Please file feature requests and bugs at the issue tracker.