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

Issue 45 #46

Merged
merged 2 commits into from Jul 16, 2021
Merged

Issue 45 #46

merged 2 commits into from Jul 16, 2021

Conversation

MohammadKashaniJabbari
Copy link
Contributor

I added a field named labelColor to CountryTheme class to change color of "Search" and "Last pick" labels, which is one of the parameters of the CountryListPick class and this class passes it to the SelectionList.

Then I added style to those two Texts and I put the color parameter in TextStyle. If you leave labelColor null, the color will be black.

In the end, tested this in the example/lib/main.dart. As you can see, I added labelColor parameter to theme parameter of CountryListPick object and it works fine:

image_2021-07-15_020920

I hope it helps you!

can close issue #45

@hifiaz hifiaz merged commit b835621 into hifiaz:master Jul 16, 2021
@davidAg9
Copy link

davidAg9 commented Sep 3, 2021

I want to set the color of the text in the search box ,in dark mood in my app it is transparent/it doesn't show the text properly

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

Successfully merging this pull request may close these issues.

None yet

3 participants