parent
9f4702b9d1
commit
1758815cc9
10 changed files with 428 additions and 93 deletions
|
|
@ -3,7 +3,8 @@ import "package:material_ui/material_ui.dart";
|
|||
extension SchemeToTheme on ColorScheme {
|
||||
ThemeData get theme {
|
||||
final textTheme = ThemeData(
|
||||
fontFamilyFallback: ["sans", "emoji", "fallback-sans", "fallback-emoji"],
|
||||
fontFamily: "bundled-sans",
|
||||
fontFamilyFallback: ["bundled-emoji"],
|
||||
brightness: brightness,
|
||||
).textTheme;
|
||||
return .from(colorScheme: this).copyWith(
|
||||
|
|
|
|||
Loading…
Reference in a new issue