解决方案:要将字体应用于整个Flutter应用程序,只需在主函数中添加以下代码。void main() { runApp(new MaterialApp( home: new SplashScreen(), theme: new ThemeData( fontFamily: 'GoogleSans' ), )); }