File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ class ZulipApp extends StatelessWidget {
1414 @override
1515 Widget build (BuildContext context) {
1616 final theme = ThemeData (
17+ // This sets up the font fallback for normal text that
18+ // may contain an emoji, where it will use any font from the "sans-serif"
19+ // group to fetch the glyphs and fallback to "Noto Color Emoji" for emojis.
20+ //
21+ // Note that specifiying only "Noto Color Emoji" in the fallback list,
22+ // Flutter tries to use it to draw even the non emoji characters
23+ // which leads to broken text rendering.
24+ fontFamilyFallback: const < String > ['sans-serif' , 'Noto Color Emoji' ],
1725 useMaterial3: false , // TODO(#225) fix things and switch to true
1826 // This applies Material 3's color system to produce a palette of
1927 // appropriately matching and contrasting colors for use in a UI.
You can’t perform that action at this time.
0 commit comments