Skip to content
New issue

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

How to set width of countrypicker when using browser #52

Open
dancb10 opened this issue Dec 28, 2021 · 1 comment
Open

How to set width of countrypicker when using browser #52

dancb10 opened this issue Dec 28, 2021 · 1 comment

Comments

@dancb10
Copy link

dancb10 commented Dec 28, 2021

Hello,
I'm using the country picker as follows:
GestureDetector( child: Icon(Icons.edit), onTap: () { showCountryPicker( context: context, onSelect: (Country country) { setState(() { currentCountry = country.displayNameNoCountryCode; }); }, ); }, )

When the country picker is shown, the width cannot be set so it takes the whole monitor screen size

@dancb10
Copy link
Author

dancb10 commented Dec 28, 2021

How can we specify a width to the country picker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant