Daniel-Ioannou / flutter_currency_picker

A flutter package to select a currency from a list of currencies.
https://pub.dev/packages/currency_picker
MIT License
35 stars 82 forks source link

Order the currencies alphabetically #21

Open rocboronat opened 3 years ago

rocboronat commented 3 years ago

Right now, the currencies are ordered by their usage, according to a comment in currencies.dart.

As the library offers a way to show the favorite currencies in the beginning of the list, don't you think we should show the most used currencies there, like EUR or USD, and then order the rest alphabetically? A user that scrolls the list looking for the ethiopian birr doesn't care about the most traded currencies. I know there's a search text field, but as a user, honestly, you find that search text field when you finished scrolling the list 😅

May we order them alphabetically?

Thanks a lot, by the way!

image

Daniel-Ioannou commented 3 years ago

@rocboronat I don't think adding the most used currencies in favorite is a good idea. Some apps use favorite as it is. Also as far as I know some developers preferred this sorting. What we can do is to add an alphabetical sort option.

rocboronat commented 3 years ago

Oh! Yes yes, sorry, you're totally right. I wanted to proprose to let the developer use the favorites option to show the usd and eur there, in case he wants to make that currencies easier to choose. Thanks for the answer, btw!