I have updated my flutter application to 3.16.0. I do not know why but now the complete styling is gone. Moreless all components has now a gray background color.
Was there any specific change from 3.x.x to 3.16.0?
I have updated my flutter application to 3.16.0. I do not know why but now the complete styling is gone. Moreless all components has now a gray background color.
Was there any specific change from 3.x.x to 3.16.0?
2
Answers
Yes, Material3 is now the default. It gets its theme from a whole different structure. If you’re in a rush, you can set
useMaterial3: false
in yourMaterialApp
for now, but that option will go away eventually.By default, it utilises Material3, however you can now turn it off by setting the useMaterial3 value to false. You may get a thorough explanation here.