language_code 0.3.0-rc.1 language_code: ^0.3.0-rc.1 copied to clipboard
Get the current language code and Locale of the device. Also includes almost the language codes with English names and native names.
0.3.0-rc.1 #
- Change from
name
toenglishNames
and returns a list of English names, thename
was removed. Because it's a default value ofenum
so I have to change it to throwUnimplementedError
. - Change from
nativeName
tonativeNames
and returns a list of native names,nativeName
was removed. - Change from
.fromName
to.fromEnglishName
.
0.2.0 #
- Change from using
window
toPlatformDispatcher
. - Using sdk: ">=2.18.0 <4.0.0" and flutter: ">=3.3.0".
0.1.1 #
- Add
LanguageCode.setTestCode
to set aLanguageCodes
for testing.
0.1.0 #
- Add
LanguageCodes
, a pre-defined language code, name in English and name in Native for all the countries. - [BREAKING CHANGE] Rename from
LanguageCode.code
toLanguageCode.rawCode
. - Add new
LanguageCode.code
, this variable will return asLanguageCodes
.
0.0.1 #
- Initial release.