在你的应用中添加自定义字体

  1. 转到(项目文件夹)
  2. 然后 app - > src - > main。
  3. 在主文件夹中创建文件夹’assets - > fonts’。
  4. 将’fontfile.ttf’放入 fonts 文件夹中。