📜  颤振添加自定义字体 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:12.409000             🧑  作者: Mango

代码示例2
flutter:
  fonts:
    - family: Proxima
      fonts:
        - asset: lib/fonts/ProximaNova-Regular.otf

In case you are using an emulator, go to the terminal and type "flutter clean" then "flutter pub get" to update the font used.