country_codes 0.0.6+2
country_codes: ^0.0.6+2 copied to clipboard
Country codes is an helper package that provides country details given a particular localization, such as dial codes, ISO 3166 codes (alpha-2, alpha-3) and country names.
0.0.6+2 12/02/2020 #
- Updates
dialCode()to receive the [locale] optionally instead of explictlynullin order to retrieve the device's region dial code.
0.0.6+1 03/02/2020 #
- Replaces
FutureOr<Locale>withLocaleto make it explicitly synchronous when invokinggetDeviceLocale()
0.0.6 03/02/2020 #
- Exposes device's
LocalethroughgetDeviceLocale()method.
0.0.5 31/01/2020 #
- Updates README
0.0.4 31/01/2020 #
- Adds default
localefrom device region when not provided. For this to work, please callCountryCodes.init()before invoking other methods. - Overall minor improvements.
0.0.3 30/01/2020 #
- Format
0.0.2 30/01/2020 #
- Adds license (MIT)
0.0.1 30/01/2020 #
- Initial release. Provides access to
DialCodeFormatterforTextFormFields,alpha2Code,dialCodeandname.