altafc22 / csc_picker

A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
BSD 3-Clause "New" or "Revised" License
27 stars 119 forks source link

Associate countries with their ISO codes #25

Open GroovinChip opened 3 years ago

GroovinChip commented 3 years ago

This package is the most useful available for selecting country/state/city, but does not associate ISO codes with countries. This would be an enormously helpful feature.

altafc22 commented 3 years ago

Hu @GroovinChip, working in this feature, it will be available soon in next version of package

GroovinChip commented 3 years ago

Excellent! Do you have any idea when it might be released?

As for implementation - will you be populating the Country picker with Country objects so that the ISO code for a selected country can be retrieved? Or will it be provided via callback?

GroovinChip commented 3 years ago

@altafc22 Has there been any movement on this?

Lab360-inc commented 3 years ago

https://github.com/altafc22/csc_picker/pull/29 you just need to add options in the csc_picker.dart

mpiparo commented 3 years ago

thanks for adding this, I see a PR was just submitted. Also, with this data present it would be very helpful to allow the defaultCountry to be set from the device locale (i.e. Platform.localeName)? Any plans for this as well?

cvanvlack commented 2 years ago

Has this feature been added? Having the ISO country and state codes would be immensely helpful for taking the output of these widgets and feeding them into other packages and services.

Great work on the package!

altafc22 commented 2 years ago

Has this feature been added? Having the ISO country and state codes would be immensely helpful for taking the output of these widgets and feeding them into other packages and services.

Great work on the package!

Hi @cvanvlack, this feature is not implemented yet in CSC Picker, thanks for suggestinhg the feature, will work on it very soon.

cvanvlack commented 2 years ago

I am working on it now because I need it. I'll send it in a few days.

On Tue, Feb 22, 2022 at 9:53 AM Altaf Razzaque @.***> wrote:

Has this feature been added? Having the ISO country and state codes would be immensely helpful for taking the output of these widgets and feeding them into other packages and services.

Great work on the package!

Hi @cvanvlack https://github.com/cvanvlack, this feature is not implemented yet in CSC Picker, thanks for suggestinhg the feature, will work on it very soon.

— Reply to this email directly, view it on GitHub https://github.com/altafc22/csc_picker/issues/25#issuecomment-1047876924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCWDHELHW2GTSUD6ULDALDU4OPNLANCNFSM46V5IHHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

altafc22 commented 2 years ago

I am working on it now because I need it. I'll send it in a few days. On Tue, Feb 22, 2022 at 9:53 AM Altaf Razzaque @.> wrote: Has this feature been added? Having the ISO country and state codes would be immensely helpful for taking the output of these widgets and feeding them into other packages and services. Great work on the package! Hi @cvanvlack https://github.com/cvanvlack, this feature is not implemented yet in CSC Picker, thanks for suggestinhg the feature, will work on it very soon. — Reply to this email directly, view it on GitHub <#25 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCWDHELHW2GTSUD6ULDALDU4OPNLANCNFSM46V5IHHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

thanks for taking initiative to implement such a great functionality. much appreciate your contribution. :)