Flutter – The ElevatedButton isn't changing the text value
I'm trying to change the value of the text in the button whenever I press it, but it stays the same. Tried using Naviagation.push but I kept getting errors from it so I deleted it off. class MyHomePage extends StatefulWidget…