Lists of color and names i want to build an app that will change color and text on tap. I want to change the container color and the text which are displayed on a list and randomize both of them. How can i do that?Here i want to change randomize both of them and get on tap
3
Answers
this will give you random color
you can get random item from the list by using below code,
use randomName and update in setState()
You can change the name and color by tapping on the screen