FLUTTER ECOSYSTEM

derTuca/flutter_sim_country_code

derTuca/flutter_sim_country_code open-source repository details.

flutter_sim_country_code project cover
Stars
16
Forks
50
Last push (UTC)
Sep 10, 2021
Project status
Active
Alexandru Tuca GitHub avatar
GITHUB User

Alexandru Tuca ↗

AntimonyRomaniaOfficial website ↗
LanguagesObjective-CDartJavaRuby

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

flutter_sim_country_code

This is a simple plugin that gets the ISO country code from the SIM card to get a more accurate locale, since the system locale is dependent on the phone language.

Getting Started

  1. Install the plugin by adding it to your pubspec.yaml.
  2. Use FlutterSimCountryCode.simCountryCode to get the country code.