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');
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');