mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 15:10:49 +08:00
add fallback font
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user