language_code 0.3.0-rc.1 copy "language_code: ^0.3.0-rc.1" to clipboard
language_code: ^0.3.0-rc.1 copied to clipboard

outdated

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 to englishNames and returns a list of English names, the name was removed. Because it's a default value of enum so I have to change it to throw UnimplementedError.
  • Change from nativeName to nativeNames and returns a list of native names, nativeName was removed.
  • Change from .fromName to .fromEnglishName.

0.2.0 #

  • Change from using window to PlatformDispatcher.
  • Using sdk: ">=2.18.0 <4.0.0" and flutter: ">=3.3.0".

0.1.1 #

  • Add LanguageCode.setTestCode to set a LanguageCodes 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 to LanguageCode.rawCode.
  • Add new LanguageCode.code, this variable will return as LanguageCodes.

0.0.1 #

  • Initial release.
17
likes
0
points
9.18k
downloads

Publisher

verified publisherlamnhan.dev

Weekly Downloads

Get the current language code and Locale of the device. Also includes almost the language codes with English names and native names.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on language_code