We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration to limit or exclude available countries on search and drop down.
The text was updated successfully, but these errors were encountered:
Just saw that there is a countries parameter that receives a list of 2 letter country codes to limit, this must be in the documentation 😄
countries
IntlPhoneField( decoration: InputDecoration( labelText: 'Phone Number', border: OutlineInputBorder( borderSide: BorderSide(), ), ), initialCountryCode: 'IN', countries: ['PE', 'MX', 'SN'], onChanged: (phone) { print(phone.completeNumber); }, )
Sorry, something went wrong.
The element type 'String' can't be assigned to the list type 'Country'.
Countries attribute changed lately and it needs Country variable instead of String. How can we limit available countries in the latest version?
No branches or pull requests
Configuration to limit or exclude available countries on search and drop down.
The text was updated successfully, but these errors were encountered: