Flutter应用程序的默认字体家族是什么?


问题内容

如何检索flutter应用程序的当前字体系列名称,默认名称是什么?

我努力了

Theme.of(context).textTheme.

Theme.of(context).

但是字体家族没有属性。


问题答案:

MaterialApp的默认字体是robotoGoogle字体。

https://fonts.google.com/specimen/Roboto