Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 如何更改我的抽屉菜单图标的大小?_Flutter - Fatal编程技术网

Flutter 如何更改我的抽屉菜单图标的大小?

Flutter 如何更改我的抽屉菜单图标的大小?,flutter,Flutter,我做了很多研究,但没有找到如何做。我需要更改图标的大小,我该怎么做?请按照下面的代码操作 return ClipRRect( borderRadius: BorderRadius.horizontal(right: Radius.circular(50)), child: Container( width:size.isMobile ? 282 : 450, child:Drawer( child: List

我做了很多研究,但没有找到如何做。我需要更改图标的大小,我该怎么做?请按照下面的代码操作

      return ClipRRect(
      borderRadius: BorderRadius.horizontal(right: Radius.circular(50)),
      child: Container(
        width:size.isMobile ? 282 : 450,
        child:Drawer(
          child: ListView(
            children: <Widget>[
              CustomHeader(
                userName: widget.userName,
              ),
              IconSection(),
              Divider(color: Colors.grey[500],),
              Align(
                alignment: Alignment.bottomCenter,
                child: ListView(
                  shrinkWrap: true,
                  children: <Widget>[
                    SizedBox(
                      width: 200,
                      height: 210,
                      child: Image.asset("images/LogoBetsOnline.png"),
                    ),
                  ],
                ),
              ),
            ],
          ),
        ),
      ),
返回ClipRRect(
边界半径:边界半径。水平(右:半径。圆形(50)),
子:容器(
宽度:size.isMobile?282:450,
孩子:抽屉(
子:ListView(
儿童:[
自定义标题(
用户名:widget.userName,
),
IconSection(),
分隔器(颜色:颜色.灰色[500],),
对齐(
对齐:对齐.bottomCenter,
子:ListView(
收缩膜:对,
儿童:[
大小盒子(
宽度:200,
身高:210,
子项:Image.asset(“images/LogoBetsOnline.png”),
),
],
),
),
],
),
),
),

使用列而不是列表视图

       Column(
          children: [
            SizedBox(
              width: 50,
              height: 200,
              child: Image.asset(
                'demo.png',
              ),
            ),
          ],
        ),

你能分享你的用户界面吗?你应该创建自定义抽屉。你是说你按下打开抽屉的图标吗?我说的是默认情况下从抽屉中出现的图标菜单