test embedding roboto
This commit is contained in:
parent
2ae24e6961
commit
600d03e235
4 changed files with 5 additions and 2 deletions
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,
|
||||
),
|
||||
textTheme: ThemeData(
|
||||
fontFamilyFallback: ["sans", "emoji", "Roboto", "fallback-emoji"],
|
||||
fontFamilyFallback: ["sans", "emoji", "fallback-sans", "fallback-emoji"],
|
||||
brightness: brightness,
|
||||
).textTheme,
|
||||
inputDecorationTheme: const InputDecorationTheme(
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@ flutter:
|
|||
fonts:
|
||||
- family: fallback-emoji
|
||||
fonts:
|
||||
- asset: assets/fonts/NotoColorEmoji-Regular.ttf
|
||||
- asset: assets/fonts/NotoColorEmoji.ttf
|
||||
- family: fallback-sans
|
||||
fonts:
|
||||
- asset: assets/fonts/Roboto.ttf
|
||||
assets:
|
||||
- assets/
|
||||
uses-material-design: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue