flutter_localized_country_name 0.0.1 copy "flutter_localized_country_name: ^0.0.1" to clipboard
flutter_localized_country_name: ^0.0.1 copied to clipboard

A Flutter plugin to get localized country name.

flutter_localized_country_name #

A Flutter plugin to get localized country name with the help of Native functions.

Supports both Android and iOS.

Features #

  • Get localized country code
  • Enabled forcing a locale to use if needed

How to use #

To use this library, all you need to do is call this function below to get the localized country names:

await FlutterLocalizedCountryName.getLocalizedCountryName(
          countryCode: countryCode,
          localeToUse: forcedLocale
      );

Please do note that if you don't supply a value for localeToUse, then this library will use the current locale of the device if supported by the application. If supplied, this library will use that locale no matter if it's supported by the application or not.

Contributor #

2
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A Flutter plugin to get localized country name.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_localized_country_name