As you can see on the top right side, there is a green tick meaning the code is working and the app I built using this functioning perfectly and as expected. Need help getting ride of those red underlines.
https://i.stack.imgur.com/jJvvJ.png
Update 1:Output of flutter doctor -v Update 2:Output of debug on app