flutter:处理报错:Unimplemented handling of missing static target(flutter 3.7.0)

一,控制台报错信息:

======== Exception caught by widgets library =========================================[......]

继续阅读

flutter:安装使用自定义的字体(flutter 3.7.0)

一,在flutter项目中引入字体文件

在项目中创建存放字体的文件夹fonts,并把要使用到的字体文件复制到此文件夹下:

如图:

二,编写配置文件:

编辑pubspec.y[……]

继续阅读