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

Search field is really small #27

Open
Suhrt opened this issue Oct 19, 2020 · 1 comment
Open

Search field is really small #27

Suhrt opened this issue Oct 19, 2020 · 1 comment

Comments

@Suhrt
Copy link

Suhrt commented Oct 19, 2020

I am using country_list_pick: ^1.0.0+2
In the select country screen the search text field is really small because

  1. its parent container has no height set
  2. there is no vertical padding for the text field

Container( color: Colors.white, height: 50, child: TextField( controller: _controller, decoration: InputDecoration( border: InputBorder.none, focusedBorder: InputBorder.none, enabledBorder: InputBorder.none, errorBorder: InputBorder.none, disabledBorder: InputBorder.none, contentPadding: EdgeInsets.all(15), hintText: "Search...", ), onChanged: _filterElements, ), ),

Adding a height of 50 to the parent container and adding content padding of 15px works well for me.

@Suhrt
Copy link
Author

Suhrt commented Oct 19, 2020

facing a similar issue with the latest version country_list_pick: ^1.0.1+2

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