【问题标题】:Flutter Material Icon Minus颤振材质图标减号
【发布时间】:2019-07-22 06:08:11
【问题描述】:

我找不到它。为什么 Material Design 的图标没有减号?

https://docs.flutter.io/flutter/material/Icons-class.html

我可以添加图标https://docs.flutter.io/flutter/widgets/IconData-class.html,但是为什么没有减号图标?

【问题讨论】:

  • Icon( Icons.remove, color: Colors.deepOrange, ),
  • 哇,谢谢。我觉得寻找减法、删除和减法很愚蠢
  • @anmol.majhail 也许你可以回答我可以接受它
  • 对于类似于Icons.add_box 的平方减号按钮,您可以使用Icons.indeterminate_check_box

标签: flutter


【解决方案1】:

为了查看播出信息图标 - 你可以查看 - https://material.io/tools/icons/?style=baseline

现在出现减号图标 - 它以不同的名称出现。

Icon( Icons.remove, color: Colors.deepOrange, ),

【讨论】:

    【解决方案2】:

    您可以使用下面给出的代码编辑您的按钮/浮动操作按钮。

    FloatingActionButton(
                    onPressed: () {},
                    child: Icon(
                        const IconData(0xe15b, fontFamily: 'MaterialIcons'),
                        color: Colors.black),
                    backgroundColor: Colors.white,
                  ),
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-15
      • 1970-01-01
      • 1970-01-01
      • 2017-12-12
      • 2018-10-27
      • 2020-01-30
      • 2022-01-15
      • 2019-01-30
      相关资源
      最近更新 更多