FLUTTER ECOSYSTEM

derTuca/flutter_sim_country_code

derTuca/flutter_sim_country_code open-source repository details.

flutter_sim_country_code 项目封面
Stars
16
Forks
50
最近推送(UTC)
2021年9月10日
项目状态
未归档
Alexandru Tuca GitHub avatar
GITHUB User

Alexandru Tuca ↗

AntimonyRomania官方网站 ↗
语言Objective-CDartJavaRuby

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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.