mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-29 22:18:08 +08:00
add fallback font
This commit is contained in:
@@ -149,7 +149,13 @@ class _MyAppState extends ConsumerState<MyApp> {
|
|||||||
return MaterialApp.router(
|
return MaterialApp.router(
|
||||||
title: 'Polaris 影视追踪下载',
|
title: 'Polaris 影视追踪下载',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
fontFamily: "NotoSansSC",
|
//fontFamily: "NotoSansSC",
|
||||||
|
fontFamilyFallback: [
|
||||||
|
'PingFang SC',
|
||||||
|
'Microsoft YaHei',
|
||||||
|
'Noto Sans SC',
|
||||||
|
'NotoSansSC', // buildin font
|
||||||
|
],
|
||||||
colorScheme: ColorScheme.fromSeed(
|
colorScheme: ColorScheme.fromSeed(
|
||||||
seedColor: Colors.blueAccent,
|
seedColor: Colors.blueAccent,
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
|
|||||||
Reference in New Issue
Block a user