-
Notifications
You must be signed in to change notification settings - Fork 388
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 can I use switch statement to change listview colors #1
Comments
Hey @ABINASH56 you can follow up with the following code .I hope this might helps you 👍
|
Also I am new to contributing , cam you please help me out to contribute further :) |
Hey @ABINASH56 , have you see it |
Hi @ABINASH56 I have a solution for you : You can try this code out and see the output. This is how you can use function in dart to get Colors from switch
|
here is the code .i need help in switch case. I watched this video but I need more examples to completely understand switch case..
How can i use switch case to change bg color of listview .I want to add 10 different types of colors in listview
The text was updated successfully, but these errors were encountered: