I m trying to display all items from this list on the text widget for each when i tap, here is my code:
Here in setState I want to create a function that show each item on tap:
Here in Text widget I want to call the function that I create in setState in the place of randomName.
CodePudding user response:
please upload your code by Code feature in text editor. I will edit it