How to get timezone, Language and County Id in flutter by the location of device in flutter?

后端 未结 7 773
长情又很酷
长情又很酷 2020-12-24 10:59

I am new to flutter, and I want to get Timezone, language, and county Id when I run my project on my device android or iOS. It should detect Timezone, language and country I

7条回答
  •  长情又很酷
    2020-12-24 11:39

    You cannot get device country through intl package. You will need to use device geolocatoin as per https://pub.dev/packages/geolocator

提交回复
热议问题