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?

Flutter Failed

1

There are 1 answers

0
CesareIsHere On

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