If you're working with a recent version of Flutter, it will automatically use the "Material 3" look and settings.
I recorded this course with Material 3 BUT at the time where I did record it, this mode had to be enabled manually by setting useMaterial3
to true
when working with themes.
You'll see that in the next lectures.
Since Material 3 is the default now, useMaterial3
no longer needs to be set to true
, hence you can and should skip that setting. The rest of the code shown in the lectures remains unchanged though.