Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search by different params #27

Open
erperejildo opened this issue Mar 30, 2021 · 4 comments
Open

Search by different params #27

erperejildo opened this issue Mar 30, 2021 · 4 comments
Labels
question Further information is requested

Comments

@erperejildo
Copy link

Can I search by country code or currency?

@Daniel-Ioannou
Copy link
Owner

@erperejildo User can search by country code and country name.

@Daniel-Ioannou Daniel-Ioannou added the question Further information is requested label Mar 30, 2021
@erperejildo
Copy link
Author

I was using this package to select the countries:
https://pub.dev/packages/country_pickers
Based on that package this other one was created and it was the one I was using to pick the currencies:
https://pub.dev/packages/country_currency_pickers

Unfortunately both are abandoned. At the moment there is no package to pick countries by currencies. I was wondering how difficult is to add this.

If you need a graphic example this is my app:
https://play.google.com/store/apps/details?id=com.drodriguez.my_rents

After creating an account you can find in Options the currency picker and in the contact list the country picker.

@Daniel-Ioannou
Copy link
Owner

@erperejildo I check your app, it seems to me that you need a currency picker not a country picker. If this is the case please check this package currency_picker (developed by me).

Note that currency_picker package allows you to select a currency and not the country that uses the selected currency.

@erperejildo
Copy link
Author

erperejildo commented Apr 1, 2021

@erperejildo I check your app, it seems to me that you need a currency picker not a country picker. If this is the case please check this package currency_picker (developed by me).

Note that currency_picker package allows you to select a currency and not the country that uses the selected currency.

I need both. The country picker is necessary for the phone number validation. You can see it when you add someone to your contact list or when adding a tenant directly to the rent.

So I guess I can use:

Questions:

  • The dialogs look different in both packages. I'd like to provide similar UX to my users. Could I force a similar dialog or change it myself for https://pub.dev/packages/flutter_country_picker?
  • In the packages I was using, the language was forced always to English (as you could see in my app changing to different language). I use https://pub.dev/packages/flutter_translate so could I have a custom text for the placeholders and more specifically for the countries?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants