zoukankan      html  css  js  c++  java
  • 取消tabBar被激活tab的下划线

      TabBar(
              indicator: const BoxDecoration(),   //取消下划线
            unselectedLabelColor: Colors.black38,       //未被激活样式的颜色
            indicatorColor: Colors.black54,         //被激活的字体颜色
            indicatorSize: TabBarIndicatorSize.label,    //指示器长度和标签长度是一样的
            indicatorWeight: 1.0,       //下划线粗度
              labelColor: Colors.black,
              tabs: <Widget>[
                Tab(child: Text(
                  '充电',
                  style: TextStyle(
                    fontSize: ScreenUtil.getInstance().setSp(38)
                  ),
                  ),
                ),
                Tab(child: Text(
                  '停车',
                  style: TextStyle(
                    fontSize: ScreenUtil.getInstance().setSp(38)
                  ),
                  ),
                ),
                Tab(child: Text(
                  '用车',
                  style: TextStyle(
                    fontSize: ScreenUtil.getInstance().setSp(38)
                  ),
                  ),
                ),
              ],
            ),
    

      

  • 相关阅读:
    Nginx安装详细指南
    git 常用命令
    oracle server config
    CentOS6.5下安装oracle11gR2
    oracle query
    oracle function
    oracle note
    正则表达
    DOM&BOM的起源、方法、内容、应用
    sticky
  • 原文地址:https://www.cnblogs.com/xhrr/p/11399535.html
Copyright © 2011-2022 走看看