Add settings page #46
4 changed files with 5 additions and 2 deletions
test embedding roboto
commit
600d03e235
BIN
assets/fonts/Roboto.ttf
Normal file
BIN
assets/fonts/Roboto.ttf
Normal file
Binary file not shown.
|
|
@ -12,7 +12,7 @@ extension SchemeToTheme on ColorScheme {
|
||||||
backgroundColor: surfaceContainerLow,
|
backgroundColor: surfaceContainerLow,
|
||||||
),
|
),
|
||||||
textTheme: ThemeData(
|
textTheme: ThemeData(
|
||||||
fontFamilyFallback: ["sans", "emoji", "Roboto", "fallback-emoji"],
|
fontFamilyFallback: ["sans", "emoji", "fallback-sans", "fallback-emoji"],
|
||||||
brightness: brightness,
|
brightness: brightness,
|
||||||
).textTheme,
|
).textTheme,
|
||||||
inputDecorationTheme: const InputDecorationTheme(
|
inputDecorationTheme: const InputDecorationTheme(
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,10 @@ flutter:
|
||||||
fonts:
|
fonts:
|
||||||
- family: fallback-emoji
|
- family: fallback-emoji
|
||||||
fonts:
|
fonts:
|
||||||
- asset: assets/fonts/NotoColorEmoji-Regular.ttf
|
- asset: assets/fonts/NotoColorEmoji.ttf
|
||||||
|
- family: fallback-sans
|
||||||
|
fonts:
|
||||||
|
- asset: assets/fonts/Roboto.ttf
|
||||||
assets:
|
assets:
|
||||||
- assets/
|
- assets/
|
||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue