Flutter
Android "Roboto"
Ios ".SF UI Display" or ".SF UI Text"
設定檔案 pubspec.yaml
https://flutter.cn/docs/cookbook/design/fonts
pub.dev https://pub.dev/packages/google_fonts#-example-tab-
install
import
Example
https://medium.com/flutter-community/font-features-in-flutter-320222fc171d
各系統預設字體
https://mollykannn.github.io/2016/09/11/operating-system-default-fonts/
Q:只有預設字體沒有其他預設字體
A:有可能為了平台一至性,只放入預設字體
Inconsistent platform fonts
Since Flutter's font discovery for default fonts depends on the fonts present on the device, it is not safe to assume all default fonts will be available or consistent across devices.A known example of this is that Samsung devices ship with a CJK font that has smaller line spacing than the Android default. This results in Samsung devices displaying more tightly spaced text than on other Android devices when no custom font is specified.
To avoid this, a custom font should be specified if absolute font consistency is required for your application.
https://api.flutter.dev/flutter/painting/TextStyle-class.html