【flutter】错误:No MaterialLocalizations found.

场景是替换了一下闪屏图之后就报了这个错误,清除包啥的都不行,先记录一下
No MaterialLocalizations found.
AppBar widgets require MaterialLocalizations to be provided by a Localizations widget ancestor. The material library uses Localizations to generate messages, labels, and abbreviations.
To introduce a MaterialLocalizations, either use a MaterialApp at the root of your application to include them automatically, or add a Localization widget with a MaterialLocalizations delegate.
The specific widget that cou

【flutter】错误:No MaterialLocalizations found.最先出现在Python成神之路

版权声明:
作者:dingding
链接:https://www.techfm.club/p/14318.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>