add fallback font

This commit is contained in:
Simon Ding
2025-12-28 16:11:44 +08:00
parent 30e8d4f024
commit 72ec84e236

View File

@@ -149,7 +149,13 @@ class _MyAppState extends ConsumerState<MyApp> {
return MaterialApp.router(
title: 'Polaris 影视追踪下载',
theme: ThemeData(
fontFamily: "NotoSansSC",
//fontFamily: "NotoSansSC",
fontFamilyFallback: [
'PingFang SC',
'Microsoft YaHei',
'Noto Sans SC',
'NotoSansSC', // buildin font
],
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blueAccent,
brightness: Brightness.dark,