fernan542 / fl_country_code_picker

A Flutter package for showing a modal that contains country dial code. The user can also search for the available codes and select right from the modal.
MIT License
19 stars 34 forks source link

Localizations no arabic language supported #8

Closed a7mdhanini closed 1 year ago

a7mdhanini commented 1 year ago

Null check operator used on a null value when i use English. also could you please add the Arabic language.

fernan542 commented 1 year ago

Hello! 👋

Null check operator used on a null value when i use English.

Can you add more information about the bug you encountered? What specific English language do you used?

also could you please add the Arabic language.

Sure. I already found the files that I need to replicate to add the most of common languages used by different devices.

fernan542 commented 1 year ago

I published a new version, please check it out.

I'll be closing this for now. Thank you for using my package! 🥳

a7mdhanini commented 1 year ago



This is my code onTapPickCountry: () async { final code = await const FlCountryCodePicker() .showPicker(context: context); if (code != null) { provider.setCountryCode(code.dialCode.toString()); } },

On 5 Feb 2023, at 15:06, Fernan Buan @.***> wrote:

Hello! 👋

Null check operator used on a null value when i use English.

Can you add more information about the bug you encountered? What specific English language do you used?

also could you please add the Arabic language.

Sure. I already found the files that I need to replicate to add the most of common languages used by different devices.

— Reply to this email directly, view it on GitHub https://github.com/fernan542/fl_country_code_picker/issues/8#issuecomment-1417635254, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBVPFOOOA5ZD5HS4PA3TDDWV6JSZANCNFSM6AAAAAAURVTVOA. You are receiving this because you authored the thread.

fernan542 commented 1 year ago

Have you tried the new version?

If that doesn't helped you, does the error happen before or after you open the picker? If it's before, it is now fixed in the new version because I added a validator if the current selected device's country/region is not supported. Else, I guess it's in your business logic.

a7mdhanini commented 1 year ago

It happened after I used fl_country_code_picker: ^0.1.1 In the old version it was work just fine Also I live in Jordan and my device language is English us

On 5 Feb 2023, at 16:51, Fernan Buan @.***> wrote:

I published a new version https://pub.dev/packages/fl_country_code_picker/versions/0.1.1, please check it out.

I'll be closing this for now. Thank you for using my package! 🥳

— Reply to this email directly, view it on GitHub https://github.com/fernan542/fl_country_code_picker/issues/8#issuecomment-1417899165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBVPFP7CAEXKKB2C4CV2QLWV6V5FANCNFSM6AAAAAAURVTVOA. You are receiving this because you authored the thread.