arturograu / country_flags

Easy to use library that allows you to render SVG flags of countries and languages
https://pub.dev/packages/country_flags
MIT License
9 stars 18 forks source link

Support 3 char ISO codes #42

Open erzohaib opened 1 month ago

erzohaib commented 1 month ago

Currently it is accepting only 2 char ISO codes. It should also accept 3 char ISO codes as most of the time developers uses 3 char ISO codes in database for view and functionality purposes.

It is accepting following: CountryFlag.fromCountryCode('US');

But not accepting CountryFlag.fromCountryCode('USA');

NilShiroya commented 1 week ago

country_currency_pickers

I was facing the same issue so I used this package insted