Flutter默认的字体是Roboto,可以使用MaterialApp的themeData属性来设置字体,例如:MaterialApp(themeData: ThemeData(fontFamily: 'Roboto'))
Flutter自带的字体是什么?如何使用
最新推荐文章于 2025-02-13 13:10:20 发布
Flutter默认的字体是Roboto,可以使用MaterialApp的themeData属性来设置字体,例如:MaterialApp(themeData: ThemeData(fontFamily: 'Roboto'))