为什么应用程序在发布模式下显示白屏?

时间:2021-03-23 11:40:28

标签: ios flutter

我已经在appstore上上传了一个用flutter开发的ios应用程序,用于在testflight模式下进行测试,但是当我过去测试它时,它在某些设备上显示白屏,但在某些设备上它运行良好,会出现什么问题

这是我的启动画面文件

 @override
 Widget build(BuildContext context) {
return Scaffold(
  body: SingleChildScrollView(
    child: Container(
      height: MediaQuery.of(context).size.height,
      width: MediaQuery.of(context).size.width,
      decoration: BoxDecoration(color: Colors.white),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          SizedBox(
            height: 150,
          ),
          Image.asset(
            'image/asset/image.jpg',
            width: 200,
            height: 200,
          ),
          SizedBox(
            height: MediaQuery.of(context).size.height*0.2,//200
          ),
        
          Image.asset(
            'image/asset/adms.jpg',
            width: 250,
            height: 170,
          )
        ],
      ),
    ),
  ),
);

} }

0 个答案:

没有答案