You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I send the callingCode and countryCode to a server (not the flag). But when i want to build the form again and paint the flag with the server response, i just have the country code.
So, please change the name of the flags (example "US.png"). This way I can match the countryCode with the flag route (asset)
Thanks
The text was updated successfully, but these errors were encountered:
Hello @ricardonior29 please use below method. I have added the same in readme now. Country country = await getCountryByCountryCode(context, 'US');
Alternatively you can retrieve all the countries using getCountries(context);
I send the callingCode and countryCode to a server (not the flag). But when i want to build the form again and paint the flag with the server response, i just have the country code.
So, please change the name of the flags (example "US.png"). This way I can match the countryCode with the flag route (asset)
Thanks
The text was updated successfully, but these errors were encountered: