我的颤动代码是,这个代码是通过导出Adobe XD文件编写的,并添加了默认的main.dart代码是通过Adobe XD生成的,并通过导出输入到VS代码中。它在调试控制台中显示此错误请帮助处理此代码。══════════I/flutter (24258): MediaQuery.of() called with a contex
嗨,我只是试着用MediaQuery.of(context).size.height来提高身高,但是得到了FlutterError (No MediaQuery widget ancestor foundMyApp widgets require a MediaQuery widget ancestor.The specific widget that could not find a MediaQuery ancestor was: MyApp The ownership chain for thethat was pa