图标集包含卢布货币,但如果我试图将其添加到项目中,则会得到错误The getter 'currency_ruble' isn't defined for the type 'Icons'。IconButton(icon: Icon(Icons.currency_ruble))[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows
我是flutter的新手,我得到了错误: error : The argument type 'Function' can't be assigned to the parameter type 'void我添加了一个简单的Drawer()。当我打开抽屉时,我得到了错误。import 'package:flutter/material.dart';
import 'package:recipes/s
我想使用自定义资产,而不是标准的材料图标,我的颤音应用程序,但我似乎无法使它工作。在搜索google寻找解决方案之后,我找到了ImageIcon小部件,该小部件本应提供此功能,但它引发了以下错误:
The argument type 'ImageIcon' can't be assignedto the parameter type 'IconData'.我还尝试(按照另一种解决方案)直接将Image.asset(