I'm learning Flutter right now with an Udemy course. The instructor always writes the code like this:
padding: EdgeInsets.all(8.0),
However in Android Studio, when you add "wrap with padding" it adds const
(isn't this a unchangeable variable?). Also in Flutter documentation it has always used const
.
padding: const EdgeInsets.all(8.0),