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

searchTextStyle not working #6

Open
byblady opened this issue Aug 25, 2021 · 2 comments
Open

searchTextStyle not working #6

byblady opened this issue Aug 25, 2021 · 2 comments

Comments

@byblady
Copy link

byblady commented Aug 25, 2021

When wanting to change the color of the search text, it does nothing, since when the dark theme is used the text stays in black, could you tell me if there is another way to change the color, thanks

searchTextStyle: TextStyle(color: Colors.blue),

@VladRoscaDev
Copy link

@byblady you can try to wrap TextDropdownFormField() in DefaultTextStyle like so:

DefaultTextStyle(style:TextStyle(color:Colors.blue),child:TextDropdownFormField())

and see if this helps you

@skwsccss
Copy link

it doesn't work! @VladRoscaDev

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

3 participants