I got errors when updating my flutter version to 3.3.8. All of textbutton class has these errors. Actually, I just need to use elevatedButton but Im curious what is the correct syntax if we want to use textbutton?

[![enter image description here](https://i.stack.imgur.com/63zS5.jpg)](https://i.stack.imgur.com/63zS5.jpg)