intl_phone_number_input
intl_phone_number_input copied to clipboard
Sorting country names is incorrect in other locals.
Describe the bug When change the locale to "tr" the countries sorted incorrectly in dialog. The sorting is remain in "en" It is working correctly when the local in default.
Package version Your current version of the package [e.g. 0.1.2] ^0.7.0+2
Flutter version Your current version of the Flutter SDK [e.g. 1.11] Flutter 2.2.3
To Reproduce 1.Change the locale to "tr"
Ok figure it out the solution for sorting.
countryComparator: ((x,y)=>x.nameTranslations["tr"].compareTo(y.nameTranslations["tr"])),