【问题标题】:Gray weird layer after send and app to playstore发送和应用程序到 Playstore 后的灰色怪异层
【发布时间】:2020-09-15 03:29:58
【问题描述】:

我正在正常开发一个应用程序,android studio生成的apk一切正常。当我将第一个版本发送到 playstore google 时,我开始遇到一些问题。我确实正确上传了,但是当谷歌带我从 Playstore 下载时,问题就来了。登录页面没问题,但是当我访问应用程序的主页时,抽屉小部件上方有一个灰色层,其中包含 of 的主菜单(我将发送一个打印屏幕)。除此之外,在主页上的谷歌地图小部件上也有像图层一样的灰色形状。我需要一些帮助来解决它们,因为我在互联网上没有找到任何关于这个问题的信息。在将 apk ou 应用程序包发送到 playstore 后就发生了此错误,在所有测试中,apk 一切正常。 enter image description here

enter link description here 我在这条消息中接收了 4 张图片。 2 个问题和 2 个正确。在此处输入图像描述

【问题讨论】:

  • 您必须共享代码以便其他人能够提供帮助。

标签: android flutter dart


【解决方案1】:

DefaultTabController( // Added
length: 4, // Added
initialIndex: 0, //Added
child: Scaffold(
key: _scaffoldKey,
floatingActionButton:
this.pilotoTemVooAssumido=='1' ?
this.tabIndex==0 ?
FloatingActionButton(
backgroundColor: Colors.redAccent,
onPressed: () async {
},
child: Icon(Icons.delete_forever,color: Colors.white,),
) : null : null,
appBar: AppBar(
backgroundColor: Color.fromRGBO(37, 67, 154, 1),
//LARANJA Color.fromRGBO(249, 138, 18, 1) AZUL "Color.fromRGBO(37, 67, 154, 1)"
title: Text(
"Ata Brasil VA", style: TextStyle(color: Colors.white),),
iconTheme: new IconThemeData(color: Colors.white),
),
drawer: buildDrawer(),
body: buildBody(tabIndex),
bottomNavigationBar: BottomNavigationBar(

selectedItemColor: Color.fromRGBO(249, 138, 18, 1),
unselectedItemColor: Colors.white,
//backgroundColor: Color.fromRGBO(249, 138, 18, 1) ,
backgroundColor: Color.fromRGBO(37, 67, 154, 1),
currentIndex: tabIndex,
onTap: (int index) {
},
items: [
BottomNavigationBarItem(
icon: Icon(Icons.home),
title: Text('Home'),
),
BottomNavigationBarItem(
icon: Icon(Icons.airplanemode_active),
title: Text('Últimos Voos'),
),
BottomNavigationBarItem(
icon: Icon(Icons.map),
title: Text('Ao Vivo'),
),
]),
));

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-25
    • 1970-01-01
    • 2017-10-29
    相关资源
    最近更新 更多