vanshg395 / intl_phone_field

A customised Flutter TextFormField to input international phone number along with country code.
https://pub.dev/packages/intl_phone_field
MIT License
177 stars 507 forks source link

357 flag linux windows os #358

Open florianguyot opened 11 months ago

florianguyot commented 11 months ago

Since the change in #243, flags in Windows and Linux are not shown anymore.

This is due to the render of icon that is not supported in these platforms. There is already a check to determine if the platform is Web to render the .png. I added some additionnal check on Platform Linux and Windows to render pgn too.

This was tested in Linux and Windows. On MacOs, icon are correctly render so no need to switch to png.

In order to run it, I also enabled desktop OS project in the example. It created automatically a bunch of files, so it can be removed it if you prefer.

Close #357

MdAshrafUllah commented 3 weeks ago

use intl_mobile_field package