I'm just learning Flutter and I got such an error, but I entered the same commands as the video I watched, what should I do?
1
I'm just learning Flutter and I got such an error, but I entered the same commands as the video I watched, what should I do?
appBar class doesn't have a body attribute. Follow the official documentation for more informations: https://api.flutter.dev/flutter/material/AppBar-class.html
If you want to use an image as a title see this topic : How to replace title with image in AppBar