1、Scaffold widgets require a MediaQuery widget ancestor.
Scaffold不能作为根视图出现在布局中,通常Scaffold的父类是MaterialApp。
2、Typically, the MediaQuery widget is introduced by the MaterialApp or WidgetsApp widget at the top of your application widget tree。
1、Scaffold widgets require a MediaQuery widget ancestor.
Scaffold不能作为根视图出现在布局中,通常Scaffold的父类是MaterialApp。
2、Typically, the MediaQuery widget is introduced by the MaterialApp or WidgetsApp widget at the top of your application widget tree。
本文标题:报错解决
本文链接:https://www.haomeiwen.com/subject/cgpjjftx.html
网友评论